Go to file
Gao Xiang eef1687898 staging: erofs: fix the definition of DBG_BUGON
It's better not to positively BUG_ON the kernel, however developers
need a way to locate issues as soon as possible.

DBG_BUGON is introduced and it could only crash when EROFS_FS_DEBUG
(EROFS developping feature) is on. It is helpful for developers
to find and solve bugs quickly by eng builds.

Previously, DBG_BUGON is defined as ((void)0) if EROFS_FS_DEBUG is off,
but some unused variable warnings as follows could occur:

drivers/staging/erofs/unzip_vle.c: In function `init_alway:':
drivers/staging/erofs/unzip_vle.c:61:33: warning: unused variable `work' [-Wunused-variable]
  struct z_erofs_vle_work *const work =
                                 ^~~~

Fix it to #define DBG_BUGON(x) ((void)(x)).

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-23 10:53:07 +01:00
arch Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-11-03 18:25:17 -07:00
block
certs
crypto
Documentation First set of new device support, features and cleanups for IIO in the 4.21 cycle 2018-11-22 09:39:45 +01:00
drivers staging: erofs: fix the definition of DBG_BUGON 2018-11-23 10:53:07 +01:00
firmware
fs This pull request contains updates for UBIFS: 2018-11-04 14:46:04 -08:00
include First set of new device support, features and cleanups for IIO in the 4.21 cycle 2018-11-22 09:39:45 +01:00
init
ipc
kernel Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-11-03 18:37:09 -07:00
lib
LICENSES
mm
net NFS client bugfixes for Linux 4.20 2018-11-04 08:20:09 -08:00
samples
scripts Kbuild updates for v4.20 (2nd) 2018-11-03 10:47:33 -07:00
security
sound
tools First set of new device support, features and cleanups for IIO in the 4.21 cycle 2018-11-22 09:39:45 +01:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS First set of new device support, features and cleanups for IIO in the 4.21 cycle 2018-11-22 09:39:45 +01:00
Makefile Linux 4.20-rc1 2018-11-04 15:37:52 -08:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.