Message ID | 20181010191753.11849-1-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1241998lji; Wed, 10 Oct 2018 12:20:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV61pjJ2dOrwj/O997jC5JuA2Ltu37hDdRIap/OFXueVFRBYikqGzeDOYJyB9p/93s2icn2e9 X-Received: by 2002:a63:4745:: with SMTP id w5-v6mr31487054pgk.377.1539199200528; Wed, 10 Oct 2018 12:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539199200; cv=none; d=google.com; s=arc-20160816; b=eJh7ntEylvD85zxiAUeUrr5LUdsQsX185GFxHhB0Dhp+BJ4lnkm5uABrcYdaEQtcaw 82TZHYAV+7tNEHVV8Jd2ReBHt1yBZZj5lxC1xatYjiou3w9ObY6a4aCHyPLLb06IaxVJ uJ17HABj3kmO2Z3I363Z2YJ8Gpl5QVJAGkhCWYPegXE2kUm1G7kmcFNBHSL870B8/FwK WA485skSm7DORATCMWQMXm1qB9hr/ARswnu/7k+3i7Km3cGyoc8gBJOseGSEQbvC0uZ5 dqnYWb+TvIGFjsxkRN2AHhMKB/Mm7ymg1b02cXCvf9CiKb1zGBEyTlGfdxinnvrTsyB8 ffwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XYKhp38kW7XMJCUJRTK08/SDIXTsLZTifcuuxfJN73g=; b=sQNl1BfJN6555fiAH/xxmlMFxhKSDluUrsCH6EnLX+Tc04BcDHH44Xbn0yKxMgXH4R pf3w6hZh15DnW25dQtHOjpRUCXziRxYoe56B0LrDZupbDHiSIsXz9Zp6EjfDRLcwSq5P 0OgxoHMB7A19RWYX23K3r4bOz4xLr7QRJJI/OdERtP0jnA+yB/VIs9+Zbuc/4UOcNRGQ jg5vCP3kHpoTsEk7KaCHDM3GRceFnAYPhhB85GBWHmzYvKWSt8bUL/PNWoznLiTOlf4C T4igc0lmgQORPDHHUpuzpj3/oPko+Z5TkgTroUlmeDnvt1MCDdx+XhYlBxzR8+zYBian n2Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e2UAKl+M; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-gpio-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10-v6si25725846pla.436.2018.10.10.12.20.00; Wed, 10 Oct 2018 12:20:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e2UAKl+M; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727271AbeJKCnc (ORCPT <rfc822; manivannan.sadhasivam@linaro.org> + 5 others); Wed, 10 Oct 2018 22:43:32 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:44534 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726734AbeJKCnb (ORCPT <rfc822; linux-gpio@vger.kernel.org>); Wed, 10 Oct 2018 22:43:31 -0400 Received: by mail-lj1-f195.google.com with SMTP id v6-v6so5930312ljc.11 for <linux-gpio@vger.kernel.org>; Wed, 10 Oct 2018 12:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XYKhp38kW7XMJCUJRTK08/SDIXTsLZTifcuuxfJN73g=; b=e2UAKl+MhZYqmFpUDgs/gDMpPf8gkoFKF5QNW4yd/YJ/FN/vhvueym0Cvepm8opCRo qGhTQZdcDkygTBhe1N86o6kkwbKUbxSoJ4LbQ2wra/T3DL3dmbJkR6dqTZ5ZRHEhT9cC niJfEL3c1Uv8XYoP3lmL1hdWaJa8gWaklawxM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XYKhp38kW7XMJCUJRTK08/SDIXTsLZTifcuuxfJN73g=; b=fKVfWaXp7lLGurgw4jRp/r6PiXKQuxkzf5uEF22jZDbJ+ut3E9G6ivkj9YbnUL7RPk cYambBe6QV9fAYs1jopsZJkcFitun5RI7zLU23sNDeV6e1mPd/K5p9EM0tly4OhrEj4x hbgQdsUGIi9Sva21KfMp1V3XJ9JuZaqt2vvD3BUMYkRcFbTnKproQYylN9eTo7PY7Ml7 9mSlZEVZeCXT7kjkJGRK1aksgErdybkAL1g04oJA684AGyHI3Lzlwo+ZJ2vyeFumwL5v b4haTB7eFyUrnSn51LBD1CnyxWZJqtG/fE7agKKYqh5KiDmsv3c7fCj9tSQ3VBfBzU51 lTWQ== X-Gm-Message-State: ABuFfoiRUxRaMv9pK3Br7isvDaTYmnWxSR+tkDkrGKg66/rIXu+ENMGH PKJARegwx4uiCWE12LHT1ZdFEts3YUg= X-Received: by 2002:a2e:9883:: with SMTP id b3-v6mr18971986ljj.171.1539199197216; Wed, 10 Oct 2018 12:19:57 -0700 (PDT) Received: from localhost.localdomain (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id n195-v6sm5235863lfb.26.2018.10.10.12.19.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Oct 2018 12:19:56 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> To: linux-gpio@vger.kernel.org Cc: Linus Walleij <linus.walleij@linaro.org>, =?utf-8?b?UmFmYcWCIE1pxYJl?= =?utf-8?q?cki?= <rafal@milecki.pl> Subject: [PATCH] pinctrl: bcm: ns: Use uintptr_t for data Date: Wed, 10 Oct 2018 21:17:53 +0200 Message-Id: <20181010191753.11849-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: <linux-gpio.vger.kernel.org> X-Mailing-List: linux-gpio@vger.kernel.org |
Series |
pinctrl: bcm: ns: Use uintptr_t for data
|
expand
|
diff --git a/drivers/pinctrl/bcm/pinctrl-ns.c b/drivers/pinctrl/bcm/pinctrl-ns.c index aedbb2813c50..c92da7caa610 100644 --- a/drivers/pinctrl/bcm/pinctrl-ns.c +++ b/drivers/pinctrl/bcm/pinctrl-ns.c @@ -20,7 +20,7 @@ struct ns_pinctrl { struct device *dev; - unsigned int chipset_flag; + uintptr_t chipset_flag; struct pinctrl_dev *pctldev; void __iomem *base;
Fix up a compiler error on 64bit architectures where pointers and integers differ in size. Cc: Rafał Miłecki <rafal@milecki.pl> Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/pinctrl/bcm/pinctrl-ns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1