lkml.org 
[lkml]   [2022]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] net: sfp: Add tx-fault quirk for Huawei MA5671A SFP ONT
> +	if (!memcmp(id.base.vendor_name, "HUAWEI          ", 16) &&
> + !memcmp(id.base.vendor_pn, "MA5671A ", 16))
> + sfp->tx_fault_ignore = true;
> + else
> + sfp->tx_fault_ignore = false;
> +
> + return 0;
> +
> return 0;

Why do we need two return 0; Probably a merged conflict gone wrong.

Andrew

\
 
 \ /
  Last update: 2022-05-02 20:39    [W:0.027 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site