From: "George Spelvin" <linux@horizon.com>
To: dborkman@redhat.com, linux@horizon.com
Cc: akpm@linux-foundation.org, davem@davemloft.net,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] lib: crc32: Greatly shrink CRC combining code
Date: 4 Jun 2014 19:12:35 -0400 [thread overview]
Message-ID: <20140604231235.2269.qmail@ns.horizon.com> (raw)
In-Reply-To: <538F8A8D.9090009@redhat.com>
>>> Perhaps a newline here.
>> Question: where do you think a newline should go? It's not obvious
>> to me. My style has been to keep as much of a declaration on one line
>> as possible so "git grep <function> include" is as informative as possible.
> It's just nit, but since you've asked, end result like this:
>
> --snip--
> u32 crc32_le_shift(u32 crc, size_t len) __attribute_const__;
>
> static inline u32 crc32_le_combine(u32 crc1, u32 crc2, size_t len2)
> {
> return crc32_le_shift(crc1, len2) ^ crc2;
> }
> --snap--
Ah, got it! I couldn't figure out where it would make sense to insert
a newline into the middle of one line, breaking it into two. Adding a
blank line makes sense, and makes your other comment make sense.
Good suggestion; I'll do it.
prev parent reply other threads:[~2014-06-04 23:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-30 5:35 George Spelvin
2014-05-30 5:39 ` [PATCH 2/3] lib: crc32: mark test data __initconst George Spelvin
2014-05-30 5:41 ` [PATCH 3/3] lib: crc32: Add some additional __pure annotations George Spelvin
2014-06-04 12:46 ` [PATCH 1/3] lib: crc32: Greatly shrink CRC combining code Daniel Borkmann
2014-06-04 18:32 ` George Spelvin
2014-06-04 21:07 ` Daniel Borkmann
2014-06-04 23:12 ` George Spelvin [this message]
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=20140604231235.2269.qmail@ns.horizon.com \
--to=linux@horizon.com \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=dborkman@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome