2022-03-30 01:33:13

by Stanislav Yakovlev

[permalink] [raw]
Subject: Re: [PATCH] ipw2200: Fix permissions setted by DEVICE_ATTR

On Fri, 25 Mar 2022 at 03:42, Meng Tang <[email protected]> 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 <[email protected]>
> ---
> drivers/net/wireless/intel/ipw2x00/ipw2200.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Looks fine, thanks!

Stanislav.