lkml.org 
[lkml]   [2020]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net-next v4 1/2] hinic: add support to handle hw abnormal event
From
Date
On 2020/7/25 8:04, David Miller wrote:
> From: Luo bin <luobin9@huawei.com>
> Date: Fri, 24 Jul 2020 17:17:31 +0800
>
>> +static int hinic_fw_reporter_dump(struct devlink_health_reporter *reporter,
>> + struct devlink_fmsg *fmsg, void *priv_ctx,
>> + struct netlink_ext_ack *extack)
>> +{
>> + int err;
>> +
>> + if (priv_ctx) {
>> + err = mgmt_watchdog_report_show(fmsg, priv_ctx);
>> + if (err)
>> + return err;
>> + }
>> +
>> + return 0;
>> +}
>
> As Edward Cree pointed out for v3 of this patch series, this 'err' is not
> necessary at all.
> .
>
Will fix. Thanks.

\
 
 \ /
  Last update: 2020-07-25 03:20    [W:0.035 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site