1. 13 Jun, 2023 2 commits
    • Arnd Bergmann's avatar
      raid6: neon: add missing prototypes · 3de13550
      Arnd Bergmann authored
      The raid6 syndrome functions are generated for different sizes and have
      no generic prototype, while in the inner functions have a prototype
      in a header that cannot be included from the correct file. In both
      cases, the compiler warns about missing prototypes:
      
      lib/raid6/recov_neon_inner.c:27:6: warning: no previous prototype for '__raid6_2data_recov_neon' [-Wmissing-prototypes]
      lib/raid6/recov_neon_inner.c:77:6: warning: no previous prototype for '__raid6_datap_recov_neon' [-Wmissing-prototypes]
      lib/raid6/neon1.c:56:6: warning: no previous prototype for 'raid6_neon1_gen_syndrome_real' [-Wmissing-prototypes]
      lib/raid6/neon1.c:86:6: warning: no previous prototype for 'raid6_neon1_xor_syndrome_real' [-Wmissing-prototypes]
      lib/raid6/neon2.c:56:6: warning: no previous prototype for 'raid6_neon2_gen_syndrome_real' [-Wmissing-prototypes]
      lib/raid6/neon2.c:97:6: warning: no previous prototype for 'raid6_neon2_xor_syndrome_real' [-Wmissing-prototypes]
      lib/raid6/neon4.c:56:6: warning: no previous prototype for 'raid6_neon4_gen_syndrome_real' [-Wmissing-prototypes]
      lib/raid6/neon4.c:119:6: warning: no previous prototype for 'raid6_neon4_xor_syndrome_real' [-Wmissing-prototypes]
      lib/raid6/neon8.c:56:6: warning: no previous prototype for 'raid6_neon8_gen_syndrome_real' [-Wmissing-prototypes]
      lib/raid6/neon8.c:163:6: warning: no previous prototype for 'raid6_neon8_xor_syndrome_real' [-Wmissing-prototypes]
      
      Add a new header file that contains the prototypes for both to avoid
      the warnings.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarSong Liu <song@kernel.org>
      Link: https://lore.kernel.org/r/20230517132220.937200-1-arnd@kernel.org
      3de13550
    • Christoph Hellwig's avatar
      swim3: fix the floppy_locked_ioctl prototype · 3dbd53c7
      Christoph Hellwig authored
      Add back the accidentally dropped mode parameter.
      
      Fixes: b60f7635788a ("swim3: fix the floppy_locked_ioctl prototype")
      Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Link: https://lore.kernel.org/r/20230613154309.327557-1-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      3dbd53c7
  2. 12 Jun, 2023 38 commits