[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230511104509.wllidoba775bldms@pengutronix.de>
Date: Thu, 11 May 2023 12:45:09 +0200
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Simon Horman <simon.horman@...igine.com>
Cc: Byungho An <bh74.an@...sung.com>, netdev@...r.kernel.org,
Eric Dumazet <edumazet@...gle.com>, kernel@...gutronix.de,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH net-next] net: samsung: sxgbe: Make sxgbe_drv_remove()
return void
On Thu, May 11, 2023 at 12:28:54PM +0200, Simon Horman wrote:
> On Thu, May 11, 2023 at 12:17:40PM +0200, Simon Horman wrote:
> > On Wed, May 10, 2023 at 10:02:47PM +0200, Uwe Kleine-König wrote:
> > > sxgbe_drv_remove() returned zero unconditionally, so it can be converted
> > > to return void without losing anything. The upside is that it becomes
> > > more obvious in its callers that there is no error to handle.
> > >
> > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
> >
> > Reviewed-by: Simon Horman <simon.horman@...igine.com>
>
> Sorry, minor nit.
> Perhaps the subject prefix should be 'net: sxgbe: ', for consistency.
> Or 'sxgbe: ' because the 'net: ' part is largely meaningless.
I'd not drop "net:". Looking at the output of
git log --format=%s next/master -- drivers/net/ethernet/samsung/sxgbe/ | sed 's/:[^:]*$//' | sort | uniq -c | sort -n
the clear winner is "net: sxgbe: ".
If and when I will resend this patch, I'll adapt accordingly. If it's
taken as is (or the committer adapts the subject line) that's fine for
me, too.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists