[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170519071558.GA12545@kroah.com>
Date: Fri, 19 May 2017 09:15:58 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: surenderpolsani@...il.com
Cc: jic23@...nel.org, knaack.h@....de, lars@...afoo.de,
pmeerw@...erw.net, gregor.boirie@...rot.com,
singhalsimran0@...il.com, maitysanchayan@...il.com,
eraretuya@...il.com, linux-iio@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] staging: iio: light: Replace symbolic permissions as
per coding style
On Fri, May 19, 2017 at 12:33:11PM +0530, surenderpolsani@...il.com wrote:
> From: Surender Polsani <surenderpolsani@...il.com>
>
> Fixed the following checkpatch.pl warnings:
> octal permissions are more preferable than symbolic permissions
>
> Replaced DEVICE_ATTR family macros with DEVICE_ATTR_RW family
> as suggested by Greg K-H. Changed attributes and function
> names where ever required to satisfy internal macro definitions
> like __ATTR__RW().
No you did not:
> -static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR,
> +static DEVICE_ATTR(power_state, 0644,
> tsl2x7x_power_state_show, tsl2x7x_power_state_store);
???
Wrong patch?
Powered by blists - more mailing lists