]> git.baikalelectronics.ru Git - kernel.git/commit
serial: hp300: mask the warning for people just doing build coverage
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 22 Jan 2017 03:08:25 +0000 (22:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 10:08:30 +0000 (11:08 +0100)
commit46b5d893847eac36daf6084ed71431a08d7222b6
tree42df09963b3cd165249e8999c4726967f8fad6f4
parente6338e5340cb91162b7bc5b670eed089801c79c0
serial: hp300: mask the warning for people just doing build coverage

Currently this warning is triggered for allmodconfig on m68k.  It is
well intentioned, in that if you are building the driver but not
enabling one of the platforms where the hardware exists, you get a
warning.

The warning dates back to pre-git days, and now we have COMPILE_TEST
so we can use that to mask the warning for people who are obviously
just doing build coverage on tree wide changes.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Cc: linux-serial@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_hp300.c