[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YHFkI2h6ArKoJsq7@kroah.com>
Date: Sat, 10 Apr 2021 10:38:59 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Luiz Sampaio <sampaio.ime@...il.com>
Cc: zbr@...emap.net, corbet@....net, rikard.falkeborn@...il.com,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH v6 3/6] w1: ds2438: fixed a coding style issue
On Fri, Apr 09, 2021 at 12:15:30AM -0300, Luiz Sampaio wrote:
> Changed the permissions to preferred octal style.
>
> Signed-off-by: Luiz Sampaio <sampaio.ime@...il.com>
> ---
> drivers/w1/slaves/w1_ds2438.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/w1/slaves/w1_ds2438.c b/drivers/w1/slaves/w1_ds2438.c
> index 56e53a748059..ccb06b8c2d78 100644
> --- a/drivers/w1/slaves/w1_ds2438.c
> +++ b/drivers/w1/slaves/w1_ds2438.c
> @@ -388,7 +388,7 @@ static ssize_t vdd_read(struct file *filp, struct kobject *kobj,
> return ret;
> }
>
> -static BIN_ATTR(iad, S_IRUGO | S_IWUSR | S_IWGRP, iad_read, iad_write, 0);
> +static BIN_ATTR_RW(iad, 0664, iad_write, 0);
You obviously did not build this commit :(
And you did more than just fix a "coding style issue".
thanks,
greg k-h
Powered by blists - more mailing lists