[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210524191907.034efdd6@gmail.com>
Date: Mon, 24 May 2021 19:19:07 +0300
From: Pavel Skripkin <paskripkin@...il.com>
To: Aviral Gupta <shiv14112001@...il.com>
Cc: ulf.hansson@...aro.org, adrian.hunter@...el.com, axboe@...nel.dk,
beanhuo@...ron.com, satyat@...gle.com, avri.altman@....com,
richard.peng@...o.com, guoqing.jiang@...ud.ionos.com,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] This patch fixes the warning generated due to use of
symbolic
On Mon, 24 May 2021 21:27:06 +0530
Aviral Gupta <shiv14112001@...il.com> wrote:
> It's better to use octal permissons instead of symbolic ones because
> peoples are more familiar with octal permissons.
> WARNING: Symbolic permissions 'S_IRUGO | S_IWUSR' are not preferred.
> Consider using octal permissions '0644'.
> + md->force_ro.attr.mode = S_IRUGO | S_IWUSR;
>
> WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider
> using octal permissions '0444'.
> + mode = S_IRUGO;
>
> WARNING: Symbolic permissions 'S_IRUGO | S_IWUSR' are not preferred.
> Consider using octal permissions '0644'.
> + mode = S_IRUGO | S_IWUSR;
>
> WARNING: Symbolic permissions 'S_IRUSR' are not preferred. Consider
> using octal permissions '0400'.
> + debugfs_create_file("ext_csd", S_IRUSR,
> root, card,
>
> Signed-off-by: Aviral Gupta <shiv14112001@...il.com>
> ---
> drivers/mmc/core/block.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Hi, Aviral!
I guess, you missed my and Greg's mails last time...
Anyway, subject line is strange, it should be smth like "mmc: core:
fix symbolic permissions".
Please, refer to
https://www.kernel.org/doc/html/latest/process/submitting-patches.html.
With regards,
Pavel Skripkin
Powered by blists - more mailing lists