[PATCH v2] staging: iio: trigger: iio-trig-periodic-rtc: Change frequency type to unsigned int

2015-02-08 Thread Rickard Strandqvist
Change struct iio_prtc_trigger_info frequency type from int to unsigned int. Since it is always treated as such in the driver so they type should probably reflect this. Signed-off-by: Rickard Strandqvist --- drivers/staging/iio/trigger/iio-trig-periodic-rtc.c | 12 +--- 1 file changed

[PATCH v2] staging: iio: trigger: iio-trig-periodic-rtc: Change frequency type to unsigned int

2015-02-08 Thread Rickard Strandqvist
Change struct iio_prtc_trigger_info frequency type from int to unsigned int. Since it is always treated as such in the driver so they type should probably reflect this. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/iio/trigger/iio-trig-periodic

[PATCH v2] staging: rtl8192u: r8192U_core: Fix driver_info dereference as a null pointer

2015-02-07 Thread Rickard Strandqvist
Fix possible use of use of driver_info as a null pointer in query_rxdesc_status() This could happen if stats->RxIs40MHzPacket still has the default value of zero. Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192u/r8192U_core.c |9 +++-- 1 file changed, 3 insertions(+)

Re: [PATCH v2] staging: rtl8192u: r8192U_core: Fix for possible null pointer dereference

2015-02-07 Thread Rickard Strandqvist
2015-02-06 15:32 GMT+01:00 Sudip Mukherjee : > On Thu, Feb 05, 2015 at 06:39:13PM +0100, Rickard Strandqvist wrote: >> 2015-02-05 13:51 GMT+01:00 Dan Carpenter : >> > On Thu, Feb 05, 2015 at 06:13:22PM +0530, Sudip Mukherjee wrote: >> >> if (driver_info) { >

Re: [PATCH v2] staging: rtl8192u: r8192U_core: Fix for possible null pointer dereference

2015-02-07 Thread Rickard Strandqvist
2015-02-06 15:32 GMT+01:00 Sudip Mukherjee sudipm.mukher...@gmail.com: On Thu, Feb 05, 2015 at 06:39:13PM +0100, Rickard Strandqvist wrote: 2015-02-05 13:51 GMT+01:00 Dan Carpenter dan.carpen...@oracle.com: On Thu, Feb 05, 2015 at 06:13:22PM +0530, Sudip Mukherjee wrote: if (driver_info

[PATCH v2] staging: rtl8192u: r8192U_core: Fix driver_info dereference as a null pointer

2015-02-07 Thread Rickard Strandqvist
Fix possible use of use of driver_info as a null pointer in query_rxdesc_status() This could happen if stats-RxIs40MHzPacket still has the default value of zero. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192u/r8192U_core.c |9

Re: [PATCH v2] staging: rtl8192u: r8192U_core: Fix for possible null pointer dereference

2015-02-05 Thread Rickard Strandqvist
it Sudip? Have you not done before Saturday I do it. Kind regards Rickard Strandqvist -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2] staging: rtl8192u: r8192U_core: Fix for possible null pointer dereference

2015-02-05 Thread Rickard Strandqvist
regards Rickard Strandqvist -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2] staging: rtl8192u: r8192U_core: Fix for possible null pointer dereference

2015-02-04 Thread Rickard Strandqvist
2015-02-02 17:51 GMT+01:00 Sudip Mukherjee : > On Thu, Jan 29, 2015 at 07:59:12PM +0100, Rickard Strandqvist wrote: >> Fix a possible null pointer dereference, there is >> otherwise a risk of a possible null pointer dereference. >> >> This was found using a static c

Re: [PATCH] staging: gdm724x: gdm_tty: Fix for possible null pointer dereference

2015-02-04 Thread Rickard Strandqvist
2015-02-02 17:36 GMT+01:00 Sudip Mukherjee : > On Thu, Jan 29, 2015 at 07:46:10PM +0100, Rickard Strandqvist wrote: >> Fix a possible null pointer dereference, there is >> otherwise a risk of a possible null pointer dereference. >> >> This was found using a static c

Re: [PATCH] staging: gdm724x: gdm_tty: Fix for possible null pointer dereference

2015-02-04 Thread Rickard Strandqvist
2015-02-02 17:36 GMT+01:00 Sudip Mukherjee sudipm.mukher...@gmail.com: On Thu, Jan 29, 2015 at 07:46:10PM +0100, Rickard Strandqvist wrote: Fix a possible null pointer dereference, there is otherwise a risk of a possible null pointer dereference. This was found using a static code analysis

Re: [PATCH v2] staging: rtl8192u: r8192U_core: Fix for possible null pointer dereference

2015-02-04 Thread Rickard Strandqvist
2015-02-02 17:51 GMT+01:00 Sudip Mukherjee sudipm.mukher...@gmail.com: On Thu, Jan 29, 2015 at 07:59:12PM +0100, Rickard Strandqvist wrote: Fix a possible null pointer dereference, there is otherwise a risk of a possible null pointer dereference. This was found using a static code analysis

Re: [PATCH] staging: rtl8723au: core: rtw_mlme: Removed variables that is never used

2015-02-01 Thread Rickard Strandqvist
2015-02-02 0:02 GMT+01:00 Jes Sorensen : > Rickard Strandqvist writes: >> Variable was assigned a value that was never used. >> I have also removed all the code that thereby serves no purpose. >> >> This was found using a static code analysis program called cppcheck &

Re: [PATCH] staging: rtl8723au: hal: usb_ops_linux: Removed variables that is never used

2015-02-01 Thread Rickard Strandqvist
2015-02-02 0:01 GMT+01:00 Jes Sorensen : > Rickard Strandqvist writes: >> Variable was assigned a value that was never used. >> I have also removed all the code that thereby serves no purpose. >> >> This was found using a static code analysis program called cppcheck &

Re: [PATCH] staging: rtl8723au: core: rtw_mlme_ext: Removed variables that is never used

2015-02-01 Thread Rickard Strandqvist
2015-02-01 23:58 GMT+01:00 Jes Sorensen : > Rickard Strandqvist writes: >> Variable was assigned a value that was never used. >> I have also removed all the code that thereby serves no purpose. >> >> This was found using a static code analysis program called cppcheck &

Re: [PATCH] staging: rtl8723au: hal: HalDMOutSrc8723A_CE: Removed variables that is never used

2015-02-01 Thread Rickard Strandqvist
2015-02-02 0:00 GMT+01:00 Jes Sorensen : > Rickard Strandqvist writes: >> Variable was assigned a value that was never used. >> I have also removed all the code that thereby serves no purpose. >> >> This was found using a static code analysis program called cppcheck &

Re: [PATCH] staging: rtl8723au: core: rtw_mlme: Removed variables that is never used

2015-02-01 Thread Rickard Strandqvist
2015-02-02 0:02 GMT+01:00 Jes Sorensen jes.soren...@redhat.com: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se writes: Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis

Re: [PATCH] staging: rtl8723au: core: rtw_mlme_ext: Removed variables that is never used

2015-02-01 Thread Rickard Strandqvist
2015-02-01 23:58 GMT+01:00 Jes Sorensen jes.soren...@redhat.com: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se writes: Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis

Re: [PATCH] staging: rtl8723au: hal: HalDMOutSrc8723A_CE: Removed variables that is never used

2015-02-01 Thread Rickard Strandqvist
2015-02-02 0:00 GMT+01:00 Jes Sorensen jes.soren...@redhat.com: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se writes: Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis

Re: [PATCH] staging: rtl8723au: hal: usb_ops_linux: Removed variables that is never used

2015-02-01 Thread Rickard Strandqvist
2015-02-02 0:01 GMT+01:00 Jes Sorensen jes.soren...@redhat.com: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se writes: Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis

[PATCH] staging: xgifb: vb_setmode: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/xgifb/vb_setmode.c |9 +++-- 1 file changed, 3

[PATCH] staging: xgifb: vb_init: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/xgifb/vb_init.c |4 +--- 1 file changed, 1

[PATCH] staging: vt6656: rxtx: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6656/rxtx.c |5 + 1 file changed, 1 insertion

[PATCH] staging: vt6656: int: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6656/int.c |3 +-- 1 file changed, 1 insertion

[PATCH] staging: vt6656: dpc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6656/dpc.c |4 +--- 1 file changed, 1 insertion

[PATCH] staging: vt6655: dpc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6655/dpc.c |4 +--- 1 file changed, 1 insertion

[PATCH] staging: vt6655: device_main: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6655/device_main.c |3 +-- 1 file changed, 1

[PATCH] staging: slicoss: slicoss: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/slicoss/slicoss.c | 12 ++-- 1 file changed

[PATCH] staging: speakup: varhandlers: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/speakup/varhandlers.c |6 ++ 1 file changed, 2

[PATCH] staging: rtl8723au: hal: usb_ops_linux: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/hal/usb_ops_linux.c |9 +++-- 1 file

[PATCH] staging: rtl8723au: hal: rtl8723a_hal_init: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 10 ++ 1

[PATCH] staging: rtl8723au: hal: rtl8723a_bt-coexist: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- .../staging/rtl8723au/hal/rtl8723a_bt-coexist.c| 27

[PATCH] staging: rtl8723au: hal: HalDMOutSrc8723A_CE: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/hal/HalDMOutSrc8723A_CE.c |6 ++ 1

[PATCH] staging: rtl8723au: core: rtw_wlan_util: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_wlan_util.c |4 +--- 1 file

[PATCH] staging: rtl8723au: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_sta_mgt.c |2 -- 1 file changed

[PATCH] staging: rtl8723au: core: rtw_security: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_security.c |3 --- 1 file

[PATCH] staging: rtl8723au: core: rtw_recv: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_recv.c | 19 +++ 1

[PATCH] staging: rtl8723au: core: rtw_mlme_ext: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c |7 +-- 1 file

[PATCH] staging: rtl8723au: core: rtw_mlme: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_mlme.c | 21

[PATCH] staging: rtl8712: rtl871x_security: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8712/rtl871x_security.c |3 --- 1 file changed

[PATCH] staging: rtl8192u: r8192U_dm: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192u/r8192U_dm.c |3 +-- 1 file changed, 1

[PATCH] staging: rtl8192u: r8192U_core: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192u/r8192U_core.c | 10 +++--- 1 file

[PATCH] staging: rtl8192u: ieee80211: rtl819x_BAProc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c |2 -- 1 file

[PATCH] staging: rtl8192u: ieee80211: ieee80211_softmac_wx: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c |2 -- 1

[PATCH] staging: rtl8192e: rtl819x_BAProc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl819x_BAProc.c |2 -- 1 file changed, 2

[PATCH] staging: rtl8192e: rtl8192e: rtl_pci: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl8192e/rtl_pci.c |2 -- 1 file changed

[PATCH] staging: rtl8192e: rtl8192e: rtl_dm: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c |9 ++--- 1 file

[PATCH] staging: rtl8192e: rtl8192e: rtl_core: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 25

[PATCH] staging: rtl8188eu: hal: rtl8188e_hal_init: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c |4 ++-- 1 file

[PATCH] staging: rtl8192e: rtl8192e: r8192E_dev: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 13 ++--- 1

[PATCH] staging: rtl8188eu: hal: rtl8188e_cmd: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c |7 +-- 1 file

[PATCH] staging: rtl8188eu: core: rtw_mlme: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/core/rtw_mlme.c |5 + 1 file changed

[PATCH] staging: rtl8188eu: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/core/rtw_sta_mgt.c |3 +-- 1 file changed

[PATCH] staging: rtl8188eu: hal: phy: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/hal/phy.c | 15 +-- 1 file

Re: [PATCH] staging: comedi: drivers: addi-data: hwdrv_apci1500: Change variables that is never used

2015-01-31 Thread Rickard Strandqvist
in staging has a TODO file, is it not appropriate to add the comment there then? BTW all, ther i a PATCH v2 for this. Kind regards Rickard Strandqvist -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH v3] staging: comedi: drivers: dyna_pci10xx: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/comedi/drivers/dyna_pci10xx.c |4 1 file

[PATCH v3] staging: comedi: drivers: jr3_pci: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/comedi/drivers/jr3_pci.c | 16 1

[PATCH] staging: rtl8188eu: hal: rtl8188e_hal_init: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8188eu/hal

[PATCH] staging: rtl8192e: rtl8192e: r8192E_dev: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192e/rtl8192e

[PATCH] staging: rtl8723au: core: rtw_mlme_ext: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8723au/core

[PATCH] staging: rtl8723au: core: rtw_wlan_util: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8723au/core

[PATCH] staging: rtl8723au: hal: usb_ops_linux: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8723au/hal

[PATCH] staging: vt6656: int: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/vt6656/int.c

[PATCH v3] staging: comedi: drivers: jr3_pci: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/comedi/drivers

[PATCH] staging: rtl8188eu: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8188eu/core

[PATCH] staging: rtl8188eu: core: rtw_mlme: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8188eu/core

[PATCH] staging: rtl8188eu: hal: rtl8188e_cmd: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8188eu/hal

[PATCH] staging: rtl8192e: rtl8192e: rtl_core: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192e/rtl8192e

[PATCH] staging: rtl8192e: rtl819x_BAProc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192e

[PATCH] staging: rtl8723au: core: rtw_mlme: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8723au/core

[PATCH] staging: rtl8712: rtl871x_security: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8712

[PATCH] staging: rtl8723au: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8723au/core

[PATCH] staging: rtl8723au: hal: rtl8723a_bt-coexist: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- .../staging/rtl8723au/hal

[PATCH] staging: slicoss: slicoss: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/slicoss/slicoss.c

[PATCH] staging: speakup: varhandlers: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/speakup

[PATCH] staging: xgifb: vb_setmode: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/xgifb

[PATCH v3] staging: comedi: drivers: dyna_pci10xx: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/comedi/drivers

Re: [PATCH] staging: comedi: drivers: addi-data: hwdrv_apci1500: Change variables that is never used

2015-01-31 Thread Rickard Strandqvist
, is it not appropriate to add the comment there then? BTW all, ther i a PATCH v2 for this. Kind regards Rickard Strandqvist -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[PATCH] staging: rtl8188eu: hal: phy: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8188eu/hal

[PATCH] staging: rtl8192e: rtl8192e: rtl_dm: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192e/rtl8192e

[PATCH] staging: rtl8192e: rtl8192e: rtl_pci: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192e/rtl8192e

[PATCH] staging: rtl8192u: r8192U_dm: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192u

[PATCH] staging: rtl8723au: core: rtw_recv: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8723au/core

[PATCH] staging: rtl8723au: hal: rtl8723a_hal_init: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8723au/hal

[PATCH] staging: vt6655: device_main: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/vt6655

[PATCH] staging: xgifb: vb_init: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/xgifb/vb_init.c

[PATCH] staging: vt6656: rxtx: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/vt6656/rxtx.c

[PATCH] staging: rtl8192u: ieee80211: ieee80211_softmac_wx: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192u

[PATCH] staging: rtl8192u: r8192U_core: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192u

[PATCH] staging: rtl8192u: ieee80211: rtl819x_BAProc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8192u

[PATCH] staging: rtl8723au: core: rtw_security: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8723au/core

[PATCH] staging: rtl8723au: hal: HalDMOutSrc8723A_CE: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/rtl8723au/hal

[PATCH] staging: vt6655: dpc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/vt6655/dpc.c

[PATCH] staging: vt6656: dpc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/vt6656/dpc.c

Re: [PATCH] staging: emxx_udc: emxx_udc: Removed variables that is never used

2015-01-30 Thread Rickard Strandqvist
2015-01-30 15:20 GMT+01:00 Dan Carpenter : > Yes. Please send that as a patch which can be applied. > > regards, > dan carpenter > Hi Okay, I'll do it this weekend. Or do you do it Chris? Kind regards Rickard Strandqvist -- To unsubscribe from this list: send the line &qu

Re: [PATCH] staging: media: lirc: lirc_zilog: Fix for possible null pointer dereference

2015-01-30 Thread Rickard Strandqvist
> We set filep->private_data to non-NULL in open() so I don't think it can >> be NULL here. > > Then probably the *right* fix is to remove the *entire* if statement, as > we can't end up doing the 'return -ENODEV' Hi Ok, but think or know. Who knows? Do the remove i

Re: [PATCH] staging: unisys: virtpci: virtpci: Fix for possible null pointer dereference

2015-01-30 Thread Rickard Strandqvist
This would be a good topic for an LWN.net article. > > Regards, > Peter Hurley > Hi Okay, I'll do that this weekend. But I see with you more about Smatch by the way. Kind regards Rickard Strandqvist -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH] staging: media: lirc: lirc_zilog: Fix for possible null pointer dereference

2015-01-30 Thread Rickard Strandqvist
is to remove the *entire* if statement, as we can't end up doing the 'return -ENODEV' Hi Ok, but think or know. Who knows? Do the remove if patch? Kind regards Rickard Strandqvist -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH] staging: unisys: virtpci: virtpci: Fix for possible null pointer dereference

2015-01-30 Thread Rickard Strandqvist
that this weekend. But I see with you more about Smatch by the way. Kind regards Rickard Strandqvist -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] staging: emxx_udc: emxx_udc: Removed variables that is never used

2015-01-30 Thread Rickard Strandqvist
2015-01-30 15:20 GMT+01:00 Dan Carpenter dan.carpen...@oracle.com: Yes. Please send that as a patch which can be applied. regards, dan carpenter Hi Okay, I'll do it this weekend. Or do you do it Chris? Kind regards Rickard Strandqvist -- To unsubscribe from this list: send the line

  1   2   3   4   5   6   7   8   9   10   >