The driver uses a mixture of signed and unsigned integer variables for
holding arrays lengths and indices, which gives rise to sparse warnings
when the addresses of signed variables are passed to functions expecting
pointers to unsigned integers.  This patch-set fixes those warnings by
converting those signed variables to unsigned.

In v5:

 * White-space errors fixed.

In v4:

 * Split the removal of the hard-coded index values into a separate
   patch.

In v3:

 * removed hard-coded index values.
 * more detailed change-log.
 * fixed formatting.

In v2:

 * more detailed change-log.

Jeremy Sowden (2):
  staging: ccree: removed some hard-coded array indices.
  staging: ccree: fixed sparse pointer signedness warnings.

 drivers/staging/ccree/cc_aead.c       | 61 ++++++++++++++++++++---------------
 drivers/staging/ccree/cc_buffer_mgr.c |  2 +-
 drivers/staging/ccree/cc_cipher.c     |  3 +-
 drivers/staging/ccree/cc_hash.c       | 17 +++++-----
 4 files changed, 47 insertions(+), 36 deletions(-)


base-commit: a66a4e8e01f3b607a9aa5b5ed9ca588b4c3a962e
-- 
2.15.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to