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

2018-01-15 Thread Greg KH
On Thu, Jan 11, 2018 at 08:36:59AM +, Jeremy Sowden wrote: > This patch fixes sparse warnings arising when the addresses of signed > variables are passed to functions expecting pointers to unsigned What exact sparse warnings are being fixed here? Please include that in the changelog text.

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

2018-01-11 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