Re: [PATCH 0/7] Fix various compilation issues with wfx driver

From: Jerome Pouiller
Date: Wed Oct 09 2019 - 11:13:18 EST


On Tuesday 8 October 2019 17:10:56 CEST Greg Kroah-Hartman wrote:
> On Tue, Oct 08, 2019 at 09:42:47AM +0000, Jerome Pouiller wrote:
> > From: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx>
> >
> > Most of problems are related to big-endian architectures.
>
> kbuild still reports 2 errors with these patches applied:
>
> Regressions in current branch:
>
> drivers/staging/wfx/hif_tx.c:82:2-8: preceding lock on line 65

As I replied to Julia, this behavior is intended.

> drivers/staging/wfx/main.c:188:14-21: ERROR: PTR_ERR applied after initialization to constant on line 183

This is a false positive, as confirmed by Dan.

You may also notice:

drivers/staging/wfx/scan.c:207 wfx_scan_work() warn: inconsistent returns 'sem:&wvif->scan.lock'

I also consider it as a false positive.

> Can you please fix those up as well?

Beside these ones, I will address the other reported problems.

--
Jérôme Pouiller