From: Chaitanya Kulkarni <Chaitanya.Kulkarni@wdc.com>
To: Kev Dorman <kdorman036@gmail.com>
Cc: "kbusch@kernel.org" <kbusch@kernel.org>,
"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>
Subject: Re: [PATCH] nvme: fix compiler warnings
Date: Sat, 25 Apr 2020 05:52:56 +0000 [thread overview]
Message-ID: <BYAPR04MB49654C07FE4D6AFCF3F447FF86D10@BYAPR04MB4965.namprd04.prod.outlook.com> (raw)
In-Reply-To: CAN4XXPDjXcEhR9AuPXf1hv9hoe67om9BAN72EbfFGWzLt_Sgrw@mail.gmail.com
>
> asprintf() returns the number of bytes "printed", or -1 for error, so
> it'd be better to check for -1.
>
> Kev
Thanks for looking into this. I'll send a fix.
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
prev parent reply other threads:[~2020-04-25 5:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 1:14 [PATCH] nvme: fix compiler warnings Chaitanya Kulkarni
2020-04-24 14:44 ` Keith Busch
[not found] ` <CAN4XXPDjXcEhR9AuPXf1hv9hoe67om9BAN72EbfFGWzLt_Sgrw@mail.gmail.com>
2020-04-25 5:52 ` Chaitanya Kulkarni [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=BYAPR04MB49654C07FE4D6AFCF3F447FF86D10@BYAPR04MB4965.namprd04.prod.outlook.com \
--to=chaitanya.kulkarni@wdc.com \
--cc=kbusch@kernel.org \
--cc=kdorman036@gmail.com \
--cc=linux-nvme@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).