Re: [PATCH v4 2/2] staging: ccree: fixed sparse pointer signedness warnings.

2018-01-11 Thread Jeremy Sowden
On 2018-01-11, at 08:25:20 +0200, Gilad Ben-Yossef wrote: > On Wed, Jan 10, 2018 at 3:33 PM, Jeremy Sowden wrote: > > This patch fixes sparse warnings arising when the addresses of signed > > variables are passed to functions expecting pointers to unsigned > > integers by converting those signed v

Re: [PATCH v4 2/2] staging: ccree: fixed sparse pointer signedness warnings.

2018-01-10 Thread Gilad Ben-Yossef
Hi Jermey, On Wed, Jan 10, 2018 at 3:33 PM, Jeremy Sowden wrote: > This patch fixes sparse warnings arising when the addresses of signed > variables are passed to functions expecting pointers to unsigned > integers by converting those signed variables to unsigned as follows: > > * changed the t

[PATCH v4 2/2] staging: ccree: fixed sparse pointer signedness warnings.

2018-01-10 Thread Jeremy Sowden
This patch fixes sparse warnings arising when the addresses of signed variables are passed to functions expecting pointers to unsigned integers by converting those signed variables to unsigned as follows: * changed the types of a number of index and length variables from signed to unsigned i