From: Randy Dunlap <rdunlap@infradead.org>
To: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,
"viro@zeniv.linux.org.uk" <viro@zeniv.linux.org.uk>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>
Cc: "Pali Rohár" <pali@kernel.org>
Subject: Re: [PATCH v2 02/10] fs/ntfs3: Add initialization of super block
Date: Fri, 21 Aug 2020 10:35:55 -0700 [thread overview]
Message-ID: <5dfec6f4-0688-217d-587b-ec26f0bb9727@infradead.org> (raw)
In-Reply-To: <caddbe41eaef4622aab8bac24934eed1@paragon-software.com>
On 8/21/20 9:25 AM, Konstantin Komarov wrote:
> +/* O:BAG:BAD:(A;OICI;FA;;;WD) */
What is that notation, please?
> +const u8 s_dir_security[] __aligned(8) = {
> + 0x01, 0x00, 0x04, 0x80, 0x30, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00,
> + 0x00, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x02, 0x00, 0x1C, 0x00,
> + 0x01, 0x00, 0x00, 0x00, 0x00, 0x03, 0x14, 0x00, 0xFF, 0x01, 0x1F, 0x00,
> + 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
> + 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x20, 0x00, 0x00, 0x00,
> + 0x20, 0x02, 0x00, 0x00, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05,
> + 0x20, 0x00, 0x00, 0x00, 0x20, 0x02, 0x00, 0x00,
> +};
> +
> + if (0x10000 * sizeof(short) != inode->i_size) {
> + err = -EINVAL;
> + goto out;
> + }
Please put constants on the right side of compares.
> +MODULE_AUTHOR("Konstantin Komarov");
Drop one space in the name.
thanks.
--
~Randy
next prev parent reply other threads:[~2020-08-21 17:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 16:25 Konstantin Komarov
2020-08-21 17:35 ` Randy Dunlap [this message]
2020-08-27 16:04 ` Konstantin Komarov
2020-08-21 19:39 ` Joe Perches
2020-08-27 16:14 ` Konstantin Komarov
2020-08-23 9:55 ` Pali Rohár
2020-08-27 16:20 ` Konstantin Komarov
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=5dfec6f4-0688-217d-587b-ec26f0bb9727@infradead.org \
--to=rdunlap@infradead.org \
--cc=almaz.alexandrovich@paragon-software.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pali@kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®