From: Martyn Welch <mwelchuk@gmail.com>
To: Clifton Barnes <clifton.a.barnes@gmail.com>,
martyn@welchs.me.uk, manohar.vanga@gmail.com,
gregkh@linuxfoundation.org
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,
devel@driverdev.osuosl.org
Subject: Re: [PATCH] staging: vme: fix bare use of 'unsigned'
Date: Sun, 3 Apr 2016 21:36:31 +0100 [thread overview]
Message-ID: <57017ECF.1060404@gmail.com> (raw)
In-Reply-To: <1459464794-27986-1-git-send-email-clifton.a.barnes@gmail.com>
On 31/03/16 23:53, Clifton Barnes wrote:
> fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of
> 'unsigned''
>
> Signed-off-by: Clifton Barnes <clifton.a.barnes@gmail.com>
Acked-by: Martyn Welch <martyn@welchs.me.uk>
Greg: Whilst this patch seems valid and compiles fine, I no longer have
access to the hardware for this driver. I'm aware this driver has been
in the staging tree for a rather long time. I will check to see if
there's any intention for further work to be done on this driver, if not
I guess we should be looking to delete it from the staging tree.
Martyn
> ---
> drivers/staging/vme/devices/vme_pio2_gpio.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/vme/devices/vme_pio2_gpio.c b/drivers/staging/vme/devices/vme_pio2_gpio.c
> index df992c3..f52a9ed 100644
> --- a/drivers/staging/vme/devices/vme_pio2_gpio.c
> +++ b/drivers/staging/vme/devices/vme_pio2_gpio.c
> @@ -97,7 +97,7 @@ static void pio2_gpio_set(struct gpio_chip *chip,
> }
>
> /* Directionality configured at board build - send appropriate response */
> -static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned offset)
> +static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned int offset)
> {
> int data;
> struct pio2_card *card = gpio_to_pio2_card(chip);
> @@ -116,7 +116,8 @@ static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned offset)
> }
>
> /* Directionality configured at board build - send appropriate response */
> -static int pio2_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int value)
> +static int pio2_gpio_dir_out(struct gpio_chip *chip,
> + unsigned int offset, int value)
> {
> int data;
> struct pio2_card *card = gpio_to_pio2_card(chip);
next prev parent reply other threads:[~2016-04-03 20:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-31 22:53 [PATCH] staging: vme: fix bare use of 'unsigned' Clifton Barnes
2016-04-03 20:36 ` Martyn Welch [this message]
2016-04-04 19:26 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57017ECF.1060404@gmail.com \
--to=mwelchuk@gmail.com \
--cc=clifton.a.barnes@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manohar.vanga@gmail.com \
--cc=martyn@welchs.me.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).