[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <80414992-a662-e884-05ca-dcc0c8b07b99@lwfinger.net>
Date: Thu, 14 Apr 2022 10:36:20 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Michael Straube <straube.linux@...il.com>,
gregkh@...uxfoundation.org
Cc: phil@...lpotter.co.uk, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 6/7] staging: r8188eu: always log firmware info
On 4/14/22 03:38, Michael Straube wrote:
> The local static variable log_version prevents logging the firmware
> information more than once, e.g. when the device is unplugged and
> plugged again. That is not necessary and complicates the code. Remove
> it.
I think the slight complication of the code, one static variable and one if
statement, is worth not spamming the logs. My recollection is that there are
other cases besides unplugging and replugging that lead to the firmware being
reloaded.
Larry
Powered by blists - more mailing lists