Re: [bug report] iwlwifi: mvm: Add mem debugfs entry

2016-10-11 Thread Luca Coelho
Hi Dan. On Tue, 2016-10-11 at 13:50 +0300, Dan Carpenter wrote: > Hello Ido Yariv, > > The patch 2b55f43f8e47: "iwlwifi: mvm: Add mem debugfs entry" from > Aug 23, 2016, leads to the following static checker warning: > > drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c:1561 > iwl_dbgfs_mem

[bug report] iwlwifi: mvm: Add mem debugfs entry

2016-10-11 Thread Dan Carpenter
Hello Ido Yariv, The patch 2b55f43f8e47: "iwlwifi: mvm: Add mem debugfs entry" from Aug 23, 2016, leads to the following static checker warning: drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c:1561 iwl_dbgfs_mem_read() warn: unsigned 'len' is never less than zero. drivers/net/w