Re: [PATCH 2/3] staging: brcm80211: removed locks around Mac80211 calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Dan,

Yeah.  We should delete the assert statement too because that's the
easiest way to get rid of the warning.

I use a little script that I wrote myself that checks a patch series before submitting it. The script builds each commit in the patch series in different configurations (eg, both for CONFIG_BRCMDBG =y and =n). It also runs a checkpatch.pl on each commit. I just modified the script to treat compiler warnings as errors, as to automatically detect this kind of stuff in the future.

Regarding 'get rid of this assert statement': ASSERTs serve a useful purpose, also this specific ASSERT instance. I would prefer to put the assert under a conditional compile flag.

Thanks for your sharp eye,

Roland.

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux