summaryrefslogtreecommitdiff
path: root/include/linux/seqlock.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-10 00:08:38 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-10 00:08:38 -0700
commitd755344394bdf8304e563f46479687c37aec1716 (patch)
tree73ab8ca0e72e8933f52a3fbeeb5c03d3c618fec4 /include/linux/seqlock.h
parent0610d50cf38c0c7440809dee57fc60de06b5f712 (diff)
[PATCH] fix wrong var used in hotplug/shpchp_ctrl.c.
From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br> Zhenmin's checker tool <zli4@cs.uiuc.edu> detected this: 9. /drivers/pci/hotplug/shpchp_ctrl.c, Line 1575: err("%s: Failed to disable slot, error code(%d)\n", __FUNCTION__, rc); Maybe change to: err("%s: Failed to disable slot, error code(%d)\n", __FUNCTION__, retval); I think it is right because at line 1564, the slot is turned off, and in this line (1575) is checked the status to see if we got an error; if so, the error number is shown. This number is in 'retval', not in 'rc' ('rc' does have the return of configure_new_device()).
Diffstat (limited to 'include/linux/seqlock.h')
0 files changed, 0 insertions, 0 deletions