1. 24 Jul, 2020 3 commits
  2. 21 Jul, 2020 6 commits
  3. 16 Jul, 2020 22 commits
  4. 08 Jul, 2020 6 commits
  5. 02 Jul, 2020 1 commit
  6. 25 Jun, 2020 2 commits
    • Alexander Lobakin's avatar
      MIPS: checksum: fix sparse flooding on asm/checksum.h · ff711d67
      Alexander Lobakin authored
      csum_fold() in MIPS' asm/checksum.h is another source of sparse flooding
      when building different networking source code.
      The thing is that only half of __wsum <--> u32 casts inside the function
      is forced, which is insufficient.
      Add all necessary forced typecasting to stop floods and simplify actual
      bug hunting.
      Signed-off-by: default avatarAlexander Lobakin <alobakin@pm.me>
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      ff711d67
    • Alexander Lobakin's avatar
      MIPS: io: fix sparse flood on asm/io.h · 7b5f9694
      Alexander Lobakin authored
      MIPS MMIO macros for byteswapping from/to hardware endianness are a bit
      tricky because they use cpu_to_le{16,32,64}() in both directions.
      This generates a lot of questions from sparse as __le{16,32,64} types
      are 'restricted' and direct cast is forbidden in order to prevent messing
      up the byteorder.
      As MMIO ops are used in almost every single driver, this leads to console
      flooding and complicates bug hunting.
      
      We could fix it in a more proper way, i.e. separate from device /
      to device byteswap macros and expand __BUILD_MEMORY_*(), but this seems
      redundant and will produce code duplication.
      Instead, just expand the existing *ioswab*() macros with forced
      typecasting to stop floods.
      Signed-off-by: default avatarAlexander Lobakin <alobakin@pm.me>
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      7b5f9694