aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-11-15 16:46:33 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-15 16:46:33 -0500
commit1be2172e96e33bfa22a5c7a651f768ef30ce3984 (patch)
treec5bf050b3914b43976f9c3ae686b21b4175e29c4 /drivers/message/fusion
parent3c18767a45650009d02537677ffb7997bd402a2c (diff)
parentece1996a21eeb344b49200e627c6660111009c10 (diff)
Merge tag 'modules-for-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
Pull module updates from Jessica Yu: "Summary of modules changes for the 4.15 merge window: - treewide module_param_call() cleanup, fix up set/get function prototype mismatches, from Kees Cook - minor code cleanups" * tag 'modules-for-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux: module: Do not paper over type mismatches in module_param_call() treewide: Fix function prototypes for module_param_call() module: Prepare to convert all module_param_call() prototypes kernel/module: Delete an error message for a failed memory allocation in add_module_usage()
Diffstat (limited to 'drivers/message/fusion')
-rw-r--r--drivers/message/fusion/mptbase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
index 84eab28665f3..7a93400eea2a 100644
--- a/drivers/message/fusion/mptbase.c
+++ b/drivers/message/fusion/mptbase.c
@@ -99,7 +99,7 @@ module_param(mpt_channel_mapping, int, 0);
99MODULE_PARM_DESC(mpt_channel_mapping, " Mapping id's to channels (default=0)"); 99MODULE_PARM_DESC(mpt_channel_mapping, " Mapping id's to channels (default=0)");
100 100
101static int mpt_debug_level; 101static int mpt_debug_level;
102static int mpt_set_debug_level(const char *val, struct kernel_param *kp); 102static int mpt_set_debug_level(const char *val, const struct kernel_param *kp);
103module_param_call(mpt_debug_level, mpt_set_debug_level, param_get_int, 103module_param_call(mpt_debug_level, mpt_set_debug_level, param_get_int,
104 &mpt_debug_level, 0600); 104 &mpt_debug_level, 0600);
105MODULE_PARM_DESC(mpt_debug_level, 105MODULE_PARM_DESC(mpt_debug_level,
@@ -242,7 +242,7 @@ pci_enable_io_access(struct pci_dev *pdev)
242 pci_write_config_word(pdev, PCI_COMMAND, command_reg); 242 pci_write_config_word(pdev, PCI_COMMAND, command_reg);
243} 243}
244 244
245static int mpt_set_debug_level(const char *val, struct kernel_param *kp) 245static int mpt_set_debug_level(const char *val, const struct kernel_param *kp)
246{ 246{
247 int ret = param_set_int(val, kp); 247 int ret = param_set_int(val, kp);
248 MPT_ADAPTER *ioc; 248 MPT_ADAPTER *ioc;