From: Greg KH <greg@kroah.com>
To: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [PATCH] [Outreachy kernel] staging: gasket: replace symbolic permissions
Date: Mon, 18 Mar 2019 18:51:35 +0100 [thread overview]
Message-ID: <20190318175135.GA23850@kroah.com> (raw)
In-Reply-To: <1552917114-7936-1-git-send-email-payal.s.kshirsagar.98@gmail.com>
On Mon, Mar 18, 2019 at 07:21:54PM +0530, Payal Kshirsagar wrote:
> Symbolic permissions 'S_IRUGO' are replaced by octal permissions '0444'
> in file
> drivers/staging/gasket/gasket_sysfs.h at line no 43 and 78.
>
> Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
> ---
> drivers/staging/gasket/gasket_sysfs.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/gasket/gasket_sysfs.h b/drivers/staging/gasket/gasket_sysfs.h
> index 151e8ed..60590ea 100644
> --- a/drivers/staging/gasket/gasket_sysfs.h
> +++ b/drivers/staging/gasket/gasket_sysfs.h
> @@ -40,7 +40,7 @@
> */
> #define GASKET_END_OF_ATTR_ARRAY \
> { \
> - .attr = __ATTR(GASKET_ARRAY_END_TOKEN, S_IRUGO, NULL, NULL), \
> + .attr = __ATTR(GASKET_ARRAY_END_TOKEN, 0444, NULL, NULL), \
> .data.attr_type = 0, \
> }
>
> @@ -75,7 +75,7 @@ struct gasket_sysfs_attribute {
>
> #define GASKET_SYSFS_RO(_name, _show_function, _attr_type) \
> { \
> - .attr = __ATTR(_name, S_IRUGO, _show_function, NULL), \
> + .attr = __ATTR(_name, 0444, _show_function, NULL), \
> .data.attr_type = _attr_type \
> }
>
This patch does not apply at all, as others have made changes in this
portion of the kernel. Be sure you are working against the latest
staging tree, it is staging.git on git.kernel.org and use the
staging-testing branch.
thanks,
greg k-h
next prev parent reply other threads:[~2019-03-18 17:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-18 13:51 [PATCH] [Outreachy kernel] staging: gasket: replace symbolic permissions Payal Kshirsagar
2019-03-18 17:51 ` Greg KH [this message]
2019-03-18 17:53 ` Payal Kshirsagar
2019-03-18 18:00 ` Greg KH
2019-03-18 18:22 ` Payal Kshirsagar
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=20190318175135.GA23850@kroah.com \
--to=greg@kroah.com \
--cc=outreachy-kernel@googlegroups.com \
--cc=payal.s.kshirsagar.98@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.