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

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

 



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 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: 47595e32869fbd3a68f15dd885865bf34dc435be
--
2.15.1

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



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux