]> git.dujemihanovic.xyz Git - u-boot.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)
commitfd7029029f5fd23990fb18c1049167fdcf95104d
treee400ef08913bf5f0fe5b711364b824fe20d80ac5
parent01b120b6395d5be6fc0fb408df8bf8849c2c47b5
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