]> git.baikalelectronics.ru Git - uboot.git/commit
Update WARN_ON() to return a value
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:08:52 +0000 (20:08 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:06 +0000 (07:03 -0600)
commit54f43af71779acab0c2f53b26155864614ef92cc
treee400ef08913bf5f0fe5b711364b824fe20d80ac5
parent3f6186971daabe208c7044103e0d0b9e6cc5d505
Update WARN_ON() to return a value

In linux v4.9 this returns a value. This saves checking the warning
condition twice in some code.

Update the U-Boot version to do this also.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/linux/compat.h