summaryrefslogtreecommitdiffstats
path: root/kernel/reboot.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-01-22 01:43:14 +0100
committerRusty Russell <rusty@rustcorp.com.au>2015-01-22 01:45:54 +0100
commitd5db139ab3764640e0882a1746e7b9fdee33fd87 (patch)
tree62f806a29a43c749c84354fbef3bdaa21dc3ce6f /kernel/reboot.c
parentmodule: fix race in kallsyms resolution during module load success. (diff)
downloadlinux-d5db139ab3764640e0882a1746e7b9fdee33fd87.tar.xz
linux-d5db139ab3764640e0882a1746e7b9fdee33fd87.zip
module: make module_refcount() a signed integer.
James Bottomley points out that it will be -1 during unload. It's only used for diagnostics, so let's not hide that as it could be a clue as to what's gone wrong. Cc: Jason Wessel <jason.wessel@windriver.com> Acked-and-documention-added-by: James Bottomley <James.Bottomley@HansenPartnership.com> Reviewed-by: Masami Hiramatsu <maasami.hiramatsu.pt@hitachi.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/reboot.c')
0 files changed, 0 insertions, 0 deletions