Skip to content

More unreachable() conversions.

David Daney linux-alpha linux-arch linux-parisc linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mn10300: Convert BUG() to use unreachable()arch/mn10300/include/asm/bug.h+2 -10 replies
2/5parisc: Convert BUG() to use unreachable()arch/parisc/include/asm/bug.h+2 -21 reply
3/5powerpc: Convert BUG() to use unreachable()arch/powerpc/include/asm/bug.h+1 -10 replies
4/5alpha: Convert BUG() to use unreachable()arch/alpha/include/asm/bug.h+2 -11 reply
5/5blackfin: Convert BUG() to use unreachable()arch/blackfin/include/asm/bug.h+1 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] More unreachable() conversions.

Back in commit 38938c879eb0c39edf85d5164aa0cffe2874304c the new macro unreachable() was added. We can use it in BUG instead of a variety of ad hoc endless loops.

This patch set consists of the patches from the original set that were never Acked-by anyone. Although they are completely untested, they seem plausible.

I don't plan on pushing these things out any more, so if you like them please merge them via your architecture trees.

I will reply with the 5 patches.

David Daney (5):
mn10300: Convert BUG() to use unreachable()
parisc: Convert BUG() to use unreachable()
powerpc: Convert BUG() to use unreachable()
alpha: Convert BUG() to use unreachable()
blackfin: Convert BUG() to use unreachable()

 arch/alpha/include/asm/bug.h    |    3 ++-
 arch/blackfin/include/asm/bug.h |    2 +-
 arch/mn10300/include/asm/bug.h  |    3 ++-
 arch/parisc/include/asm/bug.h   |    4 ++--
 arch/powerpc/include/asm/bug.h  |    2 +-
 5 files changed, 8 insertions(+), 6 deletions(-)