From: Tadeusz Struk <tadeusz.struk@intel.com>
To: Stephan Mueller <smueller@chronox.de>
Cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org,
qat-linux@intel.com
Subject: Re: [PATCH v2 1/2] lib/scatterlist: Add sg_len helper
Date: Tue, 22 Sep 2015 07:28:40 -0700 [thread overview]
Message-ID: <56016598.1070204@intel.com> (raw)
In-Reply-To: <1629054.0zdmkST5GO@tauon.atsec.com>
Hi Stephan,
On 09/21/2015 10:52 PM, Stephan Mueller wrote:
>> /**
>> >+ * sg_len - return total size of bytes in the scatterlist
>> >+ * @sg: The scatterlist
>> >+ *
>> >+ * Description:
>> >+ * Allows to know how the total size of bytes in sg, taking into account
>> >+ * chaining as well
>> >+ **/
>> >+int sg_len(struct scatterlist *sg)
>> >+{
>> >+ int len;
> Is there a reason why unsigned int is not used? Note, this applies to the
> users of that function too.
>
Ok, I'll change it to unsigned int.
Thanks
next prev parent reply other threads:[~2015-09-22 14:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 23:44 [PATCH v2 0/2] crypto: akcipher - Changes to asymmetric key API Tadeusz Struk
2015-09-21 23:44 ` [PATCH v2 1/2] lib/scatterlist: Add sg_len helper Tadeusz Struk
2015-09-22 5:52 ` Stephan Mueller
2015-09-22 14:28 ` Tadeusz Struk [this message]
2015-09-21 23:44 ` [PATCH v2 2/2] crypto: akcipher - Changes to asymmetric key API Tadeusz Struk
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=56016598.1070204@intel.com \
--to=tadeusz.struk@intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=qat-linux@intel.com \
--cc=smueller@chronox.de \
/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).