From: Bastien Nocera <hadess@hadess.net>
To: Jiri Kosina <jikos@kernel.org>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] HID: udraw-ps3: accel_limits is local to the driver
Date: Tue, 15 Nov 2016 14:38:22 +0100 [thread overview]
Message-ID: <1479217102.5750.19.camel@hadess.net> (raw)
In-Reply-To: <alpine.LNX.2.00.1611151425170.29400@cbobk.fhfr.pm>
On Tue, 2016-11-15 at 14:26 +0100, Jiri Kosina wrote:
> From: Jiri Kosina <jkosina@suse.cz>
>
> And as such should be marked static to avoid global namespace
> pollution.
>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Yes, thanks.
Reviewed-by: Bastien Nocera <hadess@hadess.net>
> ---
>
> I've just applied this on top of hid.git#for-4.10/udraw-ps3
>
> drivers/hid/hid-udraw-ps3.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hid/hid-udraw-ps3.c b/drivers/hid/hid-udraw-
> ps3.c
> index 1f68b0b..88ea390 100644
> --- a/drivers/hid/hid-udraw-ps3.c
> +++ b/drivers/hid/hid-udraw-ps3.c
> @@ -54,7 +54,7 @@ enum {
> * Accelerometer min/max values
> * in order, X, Y and Z
> */
> -struct {
> +static struct {
> int min;
> int max;
> } accel_limits[] = {
>
> --
> Jiri Kosina
> SUSE Labs
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-
> input" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2016-11-15 13:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-15 12:02 [PATCH v3] HID: udraw-ps3: Add support for the uDraw tablet for PS3 Bastien Nocera
2016-11-15 13:22 ` Jiri Kosina
2016-11-15 13:26 ` [PATCH] HID: udraw-ps3: accel_limits is local to the driver Jiri Kosina
2016-11-15 13:38 ` Bastien Nocera [this message]
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=1479217102.5750.19.camel@hadess.net \
--to=hadess@hadess.net \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®