Re: [PATCH v2 1/2] lib/scatterlist: Add sg_len helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux