(bug report) b43: impossible conditions in debugfs

2015-11-26 Thread Dan Carpenter
Hello Michael Buesch, The patch 6bbc321a96d4: "b43: Add debugfs files for random SHM access" from Jun 19, 2008, leads to the following static checker warning: drivers/net/wireless/broadcom/b43/debugfs.c:217 shm32write__write_file() warn: impossible condition '(mask > 4294967295)

Re: (bug report) b43: impossible conditions in debugfs

2015-11-26 Thread Michael Büsch
On Thu, 26 Nov 2015 14:59:24 +0300 Dan Carpenter wrote: > Hello Michael Buesch, > > The patch 6bbc321a96d4: "b43: Add debugfs files for random SHM > access" from Jun 19, 2008, leads to the following static checker > warning: > >

Re: (bug report) b43: impossible conditions in debugfs

2015-11-26 Thread Dan Carpenter
On Thu, Nov 26, 2015 at 01:32:41PM +0100, Michael Büsch wrote: > > See also: > > drivers/net/wireless/broadcom/b43/debugfs.c:346 mmio32write__write_file() > > warn: impossible condition '(mask > 4294967295) => (0-u32max > u32max)' > > drivers/net/wireless/broadcom/b43/debugfs.c:346

Re: (bug report) b43: impossible conditions in debugfs

2015-11-26 Thread Michael Büsch
On Thu, 26 Nov 2015 16:00:34 +0300 Dan Carpenter wrote: > On Thu, Nov 26, 2015 at 01:32:41PM +0100, Michael Büsch wrote: > > > See also: > > > drivers/net/wireless/broadcom/b43/debugfs.c:346 mmio32write__write_file() > > > warn: impossible condition '(mask >