Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp690317rdh; Wed, 14 Feb 2024 08:33:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVj7u6JCnfrlD+0aQYldaI2/rdbdDmzfCiWCINpe3cnC0nR83K6b6xCcoDekd0IzhV5et1vZVQJxzAYUJgYINzwKyHLRmQip3Ztcw3xgw== X-Google-Smtp-Source: AGHT+IHKwwoOvzmewbq26nT9ukk6FcnD7HHkR3c6jPk4hvuv5vx/eZbSIYsplqW+bMyFDAlxu1rJ X-Received: by 2002:a05:6a20:d39b:b0:19e:ac58:7b0d with SMTP id iq27-20020a056a20d39b00b0019eac587b0dmr3488882pzb.5.1707928422072; Wed, 14 Feb 2024 08:33:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707928422; cv=pass; d=google.com; s=arc-20160816; b=RJkr5Q9khgxdl3Sef/G5IiogGapMDI3a4QMGulFM6rfGdeey1MDYp+23ySP9tM8U8g 7WGUG2bjb1H2uLr3zMN/yjdyXNwUAFNca70taeql0wpaH7svOzCntFUYXYk0oDG0In2o 4TiOoAvLJBh3iPxpRHsJYorwTmS45JSD4CDtEot95pxcXVDegzcCswA/uQJM+MiqN78t +tzckBA5V6LaTdya0NceaGTottmNQGdtQbI70i1/iY3iNcbYybqOZ/V775zBwEXiIgj3 wVgdHw9sRRsLIc+k97AK8HsWJfwsm4VFa9fTVjFOXTjKqpXABACjoADIXqABGPtZwUmj CN3w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=FPaEKDZRsqQg1o2M83ZjHSqgMFpHL4FJm1MMwf5vGg8=; fh=oCfZdXbdvrMJEew8q0XHMBQbUmy/T0StOTiIA3xN8Lo=; b=lCSix8v6JvZaWQSX19HyRFgGq3eqgAaqzodk1ClUarYERCRedkkgCjfIaF1yHPUurz M6I3GTvdfKYGF9qJbIrZbL1osKezFo30gunUZL/OYzi3g+DSriGvkOddaQsyZKjldRF/ ofDEiAU0G6J6cW3DMxHrJBMi0FOqnXPKm6MZ+ioTEbWDaEzOt8r9qjOaHOJIaW2on14L 011chFZ5uQ7FjrKXmqIp8b3lX+HXYwqgKpbl0atwF3BfOCq/QjTJHxiKheG3PfhSgzJw 2lfRHzSIZKgu8ix9u3+aabSnMb9iyxNbBHutlrzJYz6AmmPaIZOL6s0NUmk4/rS6ReA9 CSwQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fbvKoBri; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-65542-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCUi9hAdRaPvukwYVQCqsYEMrfjW56TY1J+lLF/dUE91yI9ItFBbf2KHYxzl1EdLzI9xNt3zmWFrD0aM4F+HMnQhy+W9uoDlotXZdFbiew== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m29-20020a63711d000000b005cdfb84720fsi3962328pgc.857.2024.02.14.08.33.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 08:33:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65542-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fbvKoBri; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-65542-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3BC7D28AD41 for ; Wed, 14 Feb 2024 16:32:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04CB5633F9; Wed, 14 Feb 2024 16:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="fbvKoBri" Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDE6860ED7; Wed, 14 Feb 2024 16:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.178.240 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707928083; cv=none; b=WcbZt2peQgzAbVE7C463xgdZezWbOjRUJ6fXEKiKJGCbM0x4bbWnVMvojCI2yzFCqLMbctCbTolj8At84VBI1cDOdmw4FxvD2r057VtqXNGX766Dk7FHhOl4qVmuxEWcsFF/nKVRSLvzs74Sz71BlaEeTkhHGzNYrOJ/RVGo6fE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707928083; c=relaxed/simple; bh=zHzoNBjvcRL7OWs7kGXGyXjhEkGly7HUA37dQMH48mg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YywEB7S17OGRgFCXP6X6JnPVtXjEMk0qGhng92yQNYi3Z05iK6kzJJzYD1HSLmxSdz0YP2YT2yNNUYxf2P2DsmXBs6SW+9/KB9FTwKQej37F7bB23hoss9tvSvPm7cs71g/daCf9kqYV1pQWbCaqWCZy9Ufzlq3pwfsiJ9lr0yc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=fbvKoBri; arc=none smtp.client-ip=217.70.178.240 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: from relay3-d.mail.gandi.net (unknown [217.70.183.195]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 12878C3900; Wed, 14 Feb 2024 16:24:58 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 342AE60012; Wed, 14 Feb 2024 16:24:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707927889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FPaEKDZRsqQg1o2M83ZjHSqgMFpHL4FJm1MMwf5vGg8=; b=fbvKoBrirsLJ2R6bh/URlGt9prJA9TbLFcs2zj+csdVV2KQ+Knfv9hzvvXCpBOETgnAmPT jm8nug3kP9SrZOI40+Ne1dU+/o7jmcdcOsM+fZ6K5SnTn+ZnBiHa8lvecg63vzqjt4A20D 2rviWyAk54uCK+k6lYV6CqdgL8qp5a9fVUPYeTqBr7pr87eMbmU+kLpatmK+8GURs8jyh8 CWL3wOZ6Eo3BuoAv2MFhOFtb4NRx3rwcEBFRH6co5L1mNCnJuulQBQfTFAhR2O37QuuOCD qhkwAhDCFeyQTtTUzDztwpZkvTw8CGA8s/EFwFM1dkQx05/vuv2o6Y2EE1kZFw== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 14 Feb 2024 17:24:00 +0100 Subject: [PATCH 07/23] pinctrl: nomadik: fix build warning (-Wpointer-to-int-cast) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240214-mbly-gpio-v1-7-f88c0ccf372b@bootlin.com> References: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> In-Reply-To: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com Fix compiler warning found in the pinctrl-nomadik platform driver. GCC message is as such: drivers/pinctrl/nomadik/pinctrl-nomadik.c:1169:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Signed-off-by: Théo Lebrun --- drivers/pinctrl/nomadik/pinctrl-nomadik.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/nomadik/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c index d2a40c3dd0f6..60443de439fd 100644 --- a/drivers/pinctrl/nomadik/pinctrl-nomadik.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c @@ -1174,14 +1174,14 @@ static int nmk_pinctrl_probe(struct platform_device *pdev) struct device_node *np = pdev->dev.of_node; struct device_node *prcm_np; struct nmk_pinctrl *npct; - unsigned int version = 0; + uintptr_t version = 0; int i; npct = devm_kzalloc(&pdev->dev, sizeof(*npct), GFP_KERNEL); if (!npct) return -ENOMEM; - version = (unsigned int)device_get_match_data(&pdev->dev); + version = (uintptr_t)device_get_match_data(&pdev->dev); /* Poke in other ASIC variants here */ if (version == PINCTRL_NMK_STN8815) -- 2.43.1