From: minwoo.im.dev@gmail.com (Minwoo Im)
Subject: [PATCH V5 1/6] nvme: Do not return in the middle of the subcommand
Date: Wed, 5 Jun 2019 00:20:43 +0900 [thread overview]
Message-ID: <20190604152043.GA20696@minwooim-desktop> (raw)
In-Reply-To: <BYAPR04MB574964DAEA1B94732AE1E349861B0@BYAPR04MB5749.namprd04.prod.outlook.com>
On 19-06-02 23:03:52, Chaitanya Kulkarni wrote:
> On 5/23/19 6:41 PM, Minwoo Im wrote:
> > Some functions have label with an whitespace, but some don't. I didn't
> > wanted to involve those kind of clean-up things in this series. I just made labels
> > with its own function's previuos style, if there's not label, I put an whitespace
> > prior to label.
> >
> > I was thinking that it could be cleaned-up at once later. Do you really think that
> > those kind of clean-up things are involved in this commit?
>
> We should at least try and use the default style irrespective of the
> inheriting existing style
>
> which will trigger more cleanups. Begin said that now the question is
> what is default style ?
>
> I'd just stick to non space labels as that is something been consistent
> with kernel code.
Hmm... Actually I just tried to do all the added "ret" labels with
non-whitespace in front of it. But it seems that it's not looking good
though because it just follows the existing style in each functions.
The new label which has been added without any exsiting labels in that
function are good to be updated into default(?) style.
In commit point of view, if a single label breaks the existing labels
style in that function might make the function dirty at the time of
commit.
I would prefer to follow the existing function's style, and for the case
of new label in a function, it will follow the default sytle which is
non-space label.
Inconsistency among the functions are not good, of course. It should be
cleaned-up later, I guess.
Thanks,
next prev parent reply other threads:[~2019-06-04 15:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-23 14:57 [PATCH V5 0/6] nvme-cli: Introduce nvme-status mapping with errno Minwoo Im
2019-05-23 14:57 ` [PATCH V5 1/6] nvme: Do not return in the middle of the subcommand Minwoo Im
2019-05-24 1:36 ` Chaitanya Kulkarni
2019-05-24 1:40 ` Minwoo Im
2019-06-02 23:03 ` Chaitanya Kulkarni
2019-06-03 4:34 ` Minwoo Im
2019-06-04 15:20 ` Minwoo Im [this message]
2019-05-23 14:57 ` [PATCH V5 2/6] fabrics: " Minwoo Im
2019-06-02 23:08 ` Chaitanya Kulkarni
2019-06-03 4:31 ` Minwoo Im
2019-05-23 14:57 ` [PATCH V5 3/6] nvme: Return negative error value for internal errors Minwoo Im
2019-06-02 23:11 ` Chaitanya Kulkarni
2019-05-23 14:57 ` [PATCH V5 4/6] nvme-status: Introduce nvme status module to map errno Minwoo Im
2019-06-02 23:13 ` Chaitanya Kulkarni
2019-05-23 14:57 ` [PATCH V5 5/6] nvme: Return errno mapped for nvme error status Minwoo Im
2019-06-02 23:14 ` Chaitanya Kulkarni
2019-05-23 14:57 ` [PATCH V5 6/6] fabrics: Return errno mapped for fabrics " Minwoo Im
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=20190604152043.GA20696@minwooim-desktop \
--to=minwoo.im.dev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox