[lkml]   [2019]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: powerpc/highmem: change BUG_ON() to WARN_ON()
On Thu, 2019-03-07 at 09:47:50 UTC, Christophe Leroy wrote:
> In arch/powerpc/mm/highmem.c, BUG_ON() is called only when
> CONFIG_DEBUG_HIGHMEM is selected, this means the BUG_ON() is
> not vital and can be replaced by a a WARN_ON
> At the sametime, use IS_ENABLED() instead of #ifdef to clean a bit.
> Signed-off-by: Christophe Leroy <>

Applied to powerpc next, thanks.


 \ /
  Last update: 2019-04-21 16:19    [W:0.164 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site