1. 02 Sep, 2019 3 commits
  2. 30 Aug, 2019 15 commits
  3. 29 Aug, 2019 5 commits
    • Linus Torvalds's avatar
      Merge tag 'Wimplicit-fallthrough-5.3-rc7' of... · 4a64489c
      Linus Torvalds authored
      Merge tag 'Wimplicit-fallthrough-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
      
      Pull fallthrough fixes from Gustavo A. R. Silva:
       "Fix fall-through warnings on arc and nds32 for multiple
        configurations"
      
      * tag 'Wimplicit-fallthrough-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux:
        nds32: Mark expected switch fall-throughs
        ARC: unwind: Mark expected switch fall-through
      4a64489c
    • Linus Torvalds's avatar
      Merge tag 'mtd/fixes-for-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · 4e73079d
      Linus Torvalds authored
      Pull mtd fix from Miquel Raynal:
       "Add a 'depends on' in the core Hyperbus Kconfig entry to avoid build
        errors"
      
      * tag 'mtd/fixes-for-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
        mtd: hyperbus: fix dependency and build error
      4e73079d
    • Gustavo A. R. Silva's avatar
      nds32: Mark expected switch fall-throughs · 7c9eb2db
      Gustavo A. R. Silva authored
      Mark switch cases where we are expecting to fall through.
      
      This patch fixes the following warnings (Building: allmodconfig nds32):
      
      include/math-emu/soft-fp.h:124:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
      arch/nds32/kernel/signal.c:362:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
      arch/nds32/kernel/signal.c:315:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:417:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:430:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:310:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:320:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:310:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:320:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/soft-fp.h:124:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:417:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:430:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:310:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:320:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:310:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      include/math-emu/op-common.h:320:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
      Reported-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
      7c9eb2db
    • Gustavo A. R. Silva's avatar
      ARC: unwind: Mark expected switch fall-through · 00a0c845
      Gustavo A. R. Silva authored
      Mark switch cases where we are expecting to fall through.
      
      This patch fixes the following warnings (Building: haps_hs_defconfig arc):
      
      arch/arc/kernel/unwind.c: In function ‘read_pointer’:
      ./include/linux/compiler.h:328:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
        do {        \
           ^
      ./include/linux/compiler.h:338:2: note: in expansion of macro ‘__compiletime_assert’
        __compiletime_assert(condition, msg, prefix, suffix)
        ^~~~~~~~~~~~~~~~~~~~
      ./include/linux/compiler.h:350:2: note: in expansion of macro ‘_compiletime_assert’
        _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
        ^~~~~~~~~~~~~~~~~~~
      ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
       #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                           ^~~~~~~~~~~~~~~~~~
      ./include/linux/build_bug.h:50:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
        BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
        ^~~~~~~~~~~~~~~~
      arch/arc/kernel/unwind.c:573:3: note: in expansion of macro ‘BUILD_BUG_ON’
         BUILD_BUG_ON(sizeof(u32) != sizeof(value));
         ^~~~~~~~~~~~
      arch/arc/kernel/unwind.c:575:2: note: here
        case DW_EH_PE_native:
        ^~~~
      Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
      00a0c845
    • Randy Dunlap's avatar
      mtd: hyperbus: fix dependency and build error · dc9cfd26
      Randy Dunlap authored
      lib/devres.c, which implements devm_ioremap_resource(), is only built
      when CONFIG_HAS_IOMEM is set/enabled, so MTD_HYPERBUS should depend
      on HAS_IOMEM.  Fixes a build error and a Kconfig warning (as seen on
      UML builds):
      
      WARNING: unmet direct dependencies detected for MTD_COMPLEX_MAPPINGS
        Depends on [n]: MTD [=m] && HAS_IOMEM [=n]
        Selected by [m]:
        - MTD_HYPERBUS [=m] && MTD [=m]
      
      ERROR: "devm_ioremap_resource" [drivers/mtd/hyperbus/hyperbus-core.ko] undefined!
      
      Fixes: dcc7d344 ("mtd: Add support for HyperBus memory devices")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Vignesh Raghavendra <vigneshr@ti.com>
      Cc: Miquel Raynal <miquel.raynal@bootlin.com>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: linux-mtd@lists.infradead.org
      Acked-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
      Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
      dc9cfd26
  4. 28 Aug, 2019 6 commits
  5. 27 Aug, 2019 11 commits