hwmon: (ibmpex) remove unnecessary OOM messages
PATCH 2/8 hwmon: (ibmpex) remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message.
Signed-off-by Jingoo Han <[email protected]>
--- drivers/hwmon/ibmpex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/hwmon/ibmpex.c +1 -3
@@ -463,10 +463,8 @@ static void ibmpex_register_bmc(int iface, struct device *dev)int err; data =kzalloc (sizeof (*data),GFP_KERNEL ); -if (!data) { -dev_err (dev,"Insufficient memory for BMC interface.\n" ); +if (!data)return ; - } data->address.addr_type =IPMI_SYSTEM_INTERFACE_ADDR_TYPE ; data->address.channel =IPMI_BMC_CHANNEL ;
Signature · 8 lines
1.7.10.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Jingoo Han
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message.
Signed-off-by Jingoo Han <[email protected]>
Looks ok, so you can add:
Acked-by Darrick J. Wong <[email protected]>
--D
Quoted 24 lines
--- drivers/hwmon/ibmpex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)drivers/hwmon/ibmpex.c +1
-3@@ -463,10 +463,8 @@ static void ibmpex_register_bmc(int iface, struct device *dev)int err; data =kzalloc (sizeof (*data),GFP_KERNEL ); -if (!data) { -dev_err (dev,"Insufficient memory for BMC interface.\n" ); +if (!data)return ; - } data->address.addr_type =IPMI_SYSTEM_INTERFACE_ADDR_TYPE ; data->address.channel =IPMI_BMC_CHANNEL ;Signature · 1 line
1.7.10.4
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors