On Sun, 2018-05-27 at 14:08 +0200, Alexander Wetzel wrote: > > From: Golan Ben Ami <golan.ben.ami@xxxxxxxxx> > > > > Different device families may have different flag values > > for passing a message to the fw (i.e. SW_RESET). > > In order to keep the code readable, and avoid conditioning > > upon the family, store a value for each flag, which indicates > > the bit that needs to be enabled. > > > > Signed-off-by: Golan Ben Ami <golan.ben.ami@xxxxxxxxx> > > Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx> > > This patch generates a Null pointer exception for my Ultimate-N 6300 > card when loading the driver, making the card unusable. > (Bisecting linked it to commit > a8cbb46f831d2c101feccdd0e0daf3627b8c1dca.) > > Sine the commit could not be simply reverted I applied this commit to > my > distribution kernel - basically 4.16.12 - and can confirm it is > indeed > causing the issue. It seems that I forgot to reply to this, even though we looked into it and provided a fix[1]. This fix will hopefully be included in 4.17 final. Thanks a lot for reporting and bisecting! [1] https://patchwork.kernel.org/patch/10437773/ -- Cheers, Luca.