]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipmi: Add an intializer for ipmi_smi_msg struct
authorCorey Minyard <cminyard@mvista.com>
Tue, 12 Apr 2022 20:38:51 +0000 (15:38 -0500)
committerCorey Minyard <cminyard@mvista.com>
Thu, 12 May 2022 15:00:03 +0000 (10:00 -0500)
commit9824117dd964ecebf5d81990dbf21dfb56445049
treef834dceb64c91da0d8a0e0ec1aa252f5e90f7035
parent7602b957e2404e5f98d9a40b68f1fd27f0028712
ipmi: Add an intializer for ipmi_smi_msg struct

There was a "type" element added to this structure, but some static
values were missed.  The default value will be zero, which is correct,
but create an initializer for the type and initialize the type properly
in the initializer to avoid future issues.

Reported-by: Joe Wiese <jwiese@rackspace.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_poweroff.c
drivers/char/ipmi/ipmi_watchdog.c
include/linux/ipmi_smi.h