Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp279363yba; Sat, 13 Apr 2019 00:22:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3yRTIiIKjEM2z1ITYV7pz9RVO4YI9mAE/UcTEOn8i0HNQjrhROh2g53xMTcdMz989oYAS X-Received: by 2002:a65:6389:: with SMTP id h9mr58341529pgv.398.1555140157702; Sat, 13 Apr 2019 00:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555140157; cv=none; d=google.com; s=arc-20160816; b=oAjnuyqJFRbCtQJN5GuSe8ET/dPH3LN88TKEvmvzK2hFwGXwsOa+mYR2Wx/NQ6jJz3 s3nAKBCYj7llMPFS5SweR7IbolaqOXxNpm8RQAoSkbw0xwFIRJ9p5KLEGJ8XGL/yWO6o OhW0Z58i081wmqpn0MSBzgKoXTBWWJQFjuHOEPhc3H/h387QR4/JxpLve3UDyXLxrl49 TccdBROToDCJhB/7tX1gcYeCS1xbV16ROCi7s2eNuiCB2qfaPtbOPT/a8amNVFDLO4eY woM8wy5qLlUTillX6zD54M2ttW1+s2roX+iZTA0G6UjJLzvSmqeLCTzaVz9idlI+JaU5 Exdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=VzAF2+3/QwXNXKZOtdMuYi1JREmipNM2YSXsWrUNya0=; b=s0ybygS87lZglYkrb3FJSqdY9ZeXBlq0Xmql7fRMd3BLhh3e+lEm/8Nm8g9gy4w9eD dPHxIEGJkrTzyENKNSenGY+Ihg2JVaqkBGCIYH8IE9LWfpI7ziuNkljB/yfqRMl9IsuH s85rzAFVe/tt3kmAhx3rJcfdASERLtuXG6BEaeOYcgg2qv5etlShhhAKqyWM8lQEXslJ cTC52MJIrEiOvcBIAsUfI6TfUem4dFwFyKtmoic+cDDb2PzE28++YCwDUduNmyMEvkJ2 VcI5pvEiOCc5HvZSwcLYrD8KRRsuQnT7W9/BiTEJklH5juEFytWzYL0kQMWrH0OnEbp8 hLaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15si22222329pls.358.2019.04.13.00.22.22; Sat, 13 Apr 2019 00:22:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727260AbfDMHVM (ORCPT + 99 others); Sat, 13 Apr 2019 03:21:12 -0400 Received: from www.osadl.org ([62.245.132.105]:36415 "EHLO www.osadl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbfDMHVM (ORCPT ); Sat, 13 Apr 2019 03:21:12 -0400 Received: from debian01.hofrr.at (178.115.242.59.static.drei.at [178.115.242.59]) by www.osadl.org (8.13.8/8.13.8/OSADL-2007092901) with ESMTP id x3D7JfAZ003435; Sat, 13 Apr 2019 09:20:40 +0200 From: Nicholas Mc Guire To: Russell King Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Mark Brown , Linus Walleij , Tony Lindgren , Mike Rapoport , Janusz Krzysztofik , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nicholas Mc Guire Subject: [PATCH 2/4] ARM: imx legacy: declare unsigned int rather than unsigned Date: Sat, 13 Apr 2019 09:14:23 +0200 Message-Id: <1555139666-948-12-git-send-email-hofrat@osadl.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1555139666-948-1-git-send-email-hofrat@osadl.org> References: <1555139666-948-1-git-send-email-hofrat@osadl.org> X-Spam-Status: No, score=-1.9 required=6.0 tests=BAYES_00,DATE_IN_FUTURE_96_Q, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on www.osadl.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org provide the proper type for unsigned int. Signed-off-by: Nicholas Mc Guire --- Problem reported by checkpatch Patch was compile-tested with: imx_v4_v5_defconfig (implies CONFIG_MACH_MX27ADS=y) Patch is against 5.1-rc4 (localversion-next is 20190412) arch/arm/mach-imx/mach-mx27ads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/mach-mx27ads.c b/arch/arm/mach-imx/mach-mx27ads.c index 528846f..49ac898 100644 --- a/arch/arm/mach-imx/mach-mx27ads.c +++ b/arch/arm/mach-imx/mach-mx27ads.c @@ -202,7 +202,7 @@ static const struct imxi2c_platform_data mx27ads_i2c1_data __initconst = { static struct i2c_board_info mx27ads_i2c_devices[] = { }; -static void vgpio_set(struct gpio_chip *chip, unsigned offset, int value) +static void vgpio_set(struct gpio_chip *chip, unsigned int offset, int value) { if (value) imx_writew(PBC_BCTRL1_LCDON, PBC_BCTRL1_SET_REG); @@ -210,7 +210,7 @@ static void vgpio_set(struct gpio_chip *chip, unsigned offset, int value) imx_writew(PBC_BCTRL1_LCDON, PBC_BCTRL1_CLEAR_REG); } -static int vgpio_dir_out(struct gpio_chip *chip, unsigned offset, int value) +static int vgpio_dir_out(struct gpio_chip *chip, unsigned int offset, int value) { return 0; } -- 2.1.4