lkml.org 
[lkml]   [2020]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [net-next] dsa: sja1105: dynamically allocate stats structure
> -	rc = sja1105_port_status_get(priv, &status, port);
> + rc = sja1105_port_status_get(priv, status, port);
> if (rc < 0) {
> dev_err(ds->dev, "Failed to read port %d counters: %d\n",
> port, rc);
> - return;
> + goto out;;

Hi Arnd

I expect static checker people will drive by soon with a fix for the ;; :-)

Andrew

\
 
 \ /
  Last update: 2020-05-05 16:05    [W:0.046 / U:2.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site