This patch fixes the following sparse warnings:
drivers/staging/wlan-ng/prism2fw.c:251:15: warning: memset with byte count of
12
drivers/staging/wlan-ng/prism2fw.c:470:15: warning: memset with byte count of
12
Signed-off-by: Bilel DRIRA
---
drivers/staging/wlan-ng/prism2fw.c |8
This patch fix checkpatch.pl WARNING:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Bilel DRIRA
---
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 73 +-
1 file changed, 29 insertions(+), 44 deletions(-)
diff --git a/drivers/staging
This patch fix the checkpatch.pl WARNING:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Bilel DRIRA
---
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 78 +-
1 file changed, 31 insertions(+), 47 deletions(-)
diff --git a/drivers
This patch fix the checkpatch.pl error:
ERROR: else should follow close brace '}'
Signed-off-by: Bilel DRIRA
---
v2: remove braces instead of just putting else after close brace. (suggested by
Joe Perches).
drivers/staging/ft1000/ft1000-pcmcia/ft1000_h
This patch fix the checkpatch.pl error:
ERROR: else should follow close brace '}'
Signed-off-by: Bilel DRIRA
---
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/ft1000/ft1