History

Merge tag 'for-linus-5.5-1' of git://github.com/cminyard/linux-ipmi

Pull IPMI updates from Corey Minyard: "Some small fixes accumulated for IPMI, nothing major" * tag 'for-linus-5.5-1' of git://github.com/cminyard/linux-ipmi: ipmi: fix ipmb_poll()'s return type ipmi: kill off 'timespec' usage again drivers: ipmi: Support for both IPMB Req and Resp ipmi: Fix memory leak in __ipmi_bmc_register ipmi: bt-bmc: use devm_platform_ioremap_resource() to simplify code ipmi: use %*ph to print small buffer ipmi: Don't allow device module unload when in use

Linus Torvalds committed 6 years ago

Commit be2eca92 parents a11b696 8e6a5c85 files · +58 −90Browse files

Showing the changes to include/linux (1 of 5 files). Show all

Unified · Split

include/linux/ipmi_smi.h+8−4
@@ -224,10 +224,14 @@ static inline int ipmi_demangle_device_id(uint8_t netfn, uint8_t cmd, · 223 unmodified lines
224224 * is called, and the lower layer must get the interface from that
225225 * call.
226226 */
227−int ipmi_register_smi(const struct ipmi_smi_handlers *handlers,
228− void *send_info,
229− struct device *dev,
230− unsigned char slave_addr);
227+int ipmi_add_smi(struct module *owner,
228+ const struct ipmi_smi_handlers *handlers,
229+ void *send_info,
230+ struct device *dev,
231+ unsigned char slave_addr);
232+
233+#define ipmi_register_smi(handlers, send_info, dev, slave_addr) \
234+ ipmi_add_smi(THIS_MODULE, handlers, send_info, dev, slave_addr)
231235
232236 /*
233237 * Remove a low-level interface from the IPMI driver. This will

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t