Re: [PATCH v2 1/2] platform/x86: samsung-laptop: use octal numbers for rwx file permissions

From: Wolfram Sang
Date: Mon May 17 2021 - 06:05:53 EST



> > > - debugfs_create_file("call", S_IFREG | S_IRUGO, root, samsung,
> > > + debugfs_create_file("call", S_IFREG | 0444, root, samsung,
>
> Actually you may drop IFREG as well as debugfs will add it if there is
> no conflicting file type defined.

Oh, I missed this back then. Quoting only relevant parts of a message
helps me to avoid that ;)

I will add this, to patch 2, though. This is only a plain conversion. v3
coming in a minute.

Attachment: signature.asc
Description: PGP signature