1. 23 12月, 2015 21 次提交
  2. 23 11月, 2015 1 次提交
    • A
      crypto: atmel - fix 64-bit warnings · 20ecae79
      Arnd Bergmann 提交于
      The atmel AES driver assumes that 'int' and 'size_t' are the same
      type in multiple locations, which the compiler warns about when
      building it for 64-bit systems:
      
      In file included from ../drivers/crypto/atmel-aes.c:17:0:
      drivers/crypto/atmel-aes.c: In function 'atmel_aes_sg_copy':
      include/linux/kernel.h:724:17: warning: comparison of distinct pointer types lacks a cast
      drivers/crypto/atmel-aes.c:448:11: note: in expansion of macro 'min'
      
      drivers/crypto/atmel-aes.c: In function 'atmel_aes_crypt_dma_stop':
      include/linux/kern_levels.h:4:18: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=]
      
      This changes the format strings to use the %z modifier when printing
      a size_t, and makes sure that we use the correct size_t type where
      needed. In case of sg_dma_len(), the type of the result depends
      on CONFIG_NEED_SG_DMA_LENGTH, so we have to use min_t to get it to
      work in all configurations.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NCyrille Pitchen <cyrille.pitchen@atmel.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      20ecae79
  3. 14 10月, 2015 1 次提交
  4. 08 10月, 2015 1 次提交
  5. 08 4月, 2015 4 次提交
  6. 04 3月, 2015 1 次提交
  7. 26 1月, 2015 1 次提交
  8. 20 10月, 2014 1 次提交
  9. 28 4月, 2014 2 次提交
  10. 13 12月, 2013 1 次提交
  11. 10 3月, 2013 1 次提交
  12. 04 2月, 2013 1 次提交
  13. 04 1月, 2013 1 次提交
    • G
      Drivers: crypto: remove __dev* attributes. · 49cfe4db
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Kent Yoder <key@linux.vnet.ibm.com>
      Cc: Jamie Iles <jamie@jamieiles.com>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
      Cc: Alex Porosanu <alexandru.porosanu@freescale.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      49cfe4db
  14. 07 9月, 2012 1 次提交
  15. 01 8月, 2012 1 次提交
  16. 11 7月, 2012 1 次提交