Re: [PATCH net-next v2 10/11] staging: qlge: devlink health: use retained error fmsg API

From: Benjamin Poirier
Date: Thu Oct 19 2023 - 10:28:11 EST


On 2023-10-17 18:15 -0700, Jakub Kicinski wrote:
> On Tue, 17 Oct 2023 12:53:40 +0200 Przemek Kitszel wrote:
> > Drop unneeded error checking.
> >
> > devlink_fmsg_*() family of functions is now retaining errors,
> > so there is no need to check for them after each call.
>
> Humpf. Unrelated to the set, when did qlge grow devlink support?!
>
> Coiby, do you still use this HW?
>
> It looks like the driver was moved to staging on account of being
> old and unused, and expecting that we'll delete it. Clearly that's
> not the case if people are adding devlink support, so should we
> move it back?

AFAIK this was done by Coiby as an exercise in kernel programming.
Improving the debugging dump facilities was one of the tasks in the TODO
file.

I moved the driver to staging because it had many problems and it had
been abandoned by the vendor. There might be some qlge users left but is
that reason enough to move the driver back to drivers/net/ if there is
no one who is interested in doing more than checkpatch fixes on the
driver?