]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ipmi: Finish cleanup of BMC attributes
authorCorey Minyard <cminyard@mvista.com>
Sat, 13 Dec 2014 01:06:07 +0000 (19:06 -0600)
committerCorey Minyard <cminyard@mvista.com>
Sun, 21 Dec 2014 23:00:59 +0000 (17:00 -0600)
commit9c633317a589754ff3c6e22dcb5c63f149303ec9
tree6e8c45210c54dc112b56004825c76f1470b3d7c0
parent603ba7e41bf5d405aba22294af5d075d8898176d
ipmi: Finish cleanup of BMC attributes

The previous cleanup of BMC attributes left a few holes, and if
you run with lockdep debugging with a BMC with the proper attributes,
you could get a warning.

This patch removes all the unused attributes from the BMC structure,
since they are all declared in the .data section now.  It makes
the attributes all static.  It fixes the referencing of the
attributes in a couple of cases that dynamically added the files
depending on BMC information.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Huang Ying <ying.huang@intel.com>
Tested-by: Alexei Starovoitov <ast@plumgrid.com>
drivers/char/ipmi/ipmi_msghandler.c