X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=lib%2Fbug.c;h=d0cdf14c651ae629cba6731debb3b6a5edee39bf;hb=3b0eb71ec9e22c6735c84f800d6523c96839efe6;hp=a28c1415357cac9d30fc09195652fbfd099bc421;hpb=923f79743c76583ed4684e2c80c8da51a7268af3;p=linux-block.git diff --git a/lib/bug.c b/lib/bug.c index a28c1415357c..d0cdf14c651a 100644 --- a/lib/bug.c +++ b/lib/bug.c @@ -55,6 +55,7 @@ static inline unsigned long bug_addr(const struct bug_entry *bug) } #ifdef CONFIG_MODULES +/* Updates are protected by module mutex */ static LIST_HEAD(module_bug_list); static const struct bug_entry *module_find_bug(unsigned long bugaddr)