Re: [PATCH] ipw2200: Fix permissions setted by DEVICE_ATTR
From: Stanislav Yakovlev
Date: Tue Mar 29 2022 - 16:42:10 EST
On Fri, 25 Mar 2022 at 03:42, Meng Tang <tangmeng@xxxxxxxxxxxxx> wrote:
>
> Because xcode_version and rtc only implement the show function
> and do not provide the store function, so ucode_version and rtc
> only need the read permission, not need the write permission more.
>
> So, remove the write permission from xcode_version and rtc.
>
> Signed-off-by: Meng Tang <tangmeng@xxxxxxxxxxxxx>
> ---
> drivers/net/wireless/intel/ipw2x00/ipw2200.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Looks fine, thanks!
Stanislav.