bug: Provide dummy version of bug_get_file_line() when !GENERIC_BUG
authorMarc Zyngier <maz@kernel.org>
Wed, 14 Apr 2021 16:41:14 +0000 (17:41 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 15 Apr 2021 16:04:24 +0000 (17:04 +0100)
commitd3debfcc4e3f65f1370ad4ca2ab61e7f0ff683cd
tree2bcaf22527583ae2de60a5b713934b33e1d9573b
parentaec0fae62e47050019474936248a311a0ab08705
bug: Provide dummy version of bug_get_file_line() when !GENERIC_BUG

Provide the missing dummy bug_get_file_line() implementation when
GENENERIC_BUG isn't selected.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 26dbc7e299c7 ("bug: Factor out a getter for a bug's file line")
Cc: Andrew Scull <ascull@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
include/linux/bug.h