-remove duplicate tty allocation code for serial and printer drivers.
-add missing tty c_ispeed and c_ospeed initialization to 9600.
-fix sparse warning: too long initializer-string for array of char.
This patch was only unit tested due to lack of the actual hardware.
Signed-off-by: Haim Daniel
/dgnc_tty.c:66:25: warning: too long
initializer-string for array of char
On 05/15/2017 03:52 PM, Dan Carpenter wrote:
On Mon, May 15, 2017 at 03:30:50PM +0300, Haim Daniel wrote:
-remove duplicate tty allocation code for serial and printer drivers.
-fix sparse warning: too long initializer-string for
-remove duplicate tty allocation code for serial and printer drivers.
-fix sparse warning: too long initializer-string for array of char.
Signed-off-by: Haim Daniel
---
drivers/staging/dgnc/dgnc_driver.h | 13
drivers/staging/dgnc/dgnc_tty.c| 150
-remove duplicate tty allocation code for serial and printer drivers.
-fix sparse warning: too long initializer-string for array of char.
Signed-off-by: Haim Daniel
---
drivers/staging/dgnc/dgnc_driver.h | 13
drivers/staging/dgnc/dgnc_tty.c| 150
-remove duplicate tty allocation code for serial and printer drivers.
-fix sparse warning: too long initializer-string for array of char.
Signed-off-by: Haim Daniel
---
drivers/staging/dgnc/dgnc_driver.h | 13
drivers/staging/dgnc/dgnc_tty.c| 137
isp_capture_defs.h: clean up ERROR: Macros with complex values should be
enclosed in parentheses
Signed-off-by: Haim Daniel
---
.../pci/atomisp2/css2400/css_2401_csi2p_system/hrt/isp_capture_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/drivers/staging/media
isp_capture_defs.h:
fix checkpatch ERROR:
Macros with complex values should be enclosed in parentheses
Signed-off-by: Haim Daniel
---
.../pci/atomisp2/css2400/css_2401_csi2p_system/hrt/isp_capture_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/drivers/staging
>From c840c64e0e662eee04b7d0403040be81eaa34c25 Mon Sep 17 00:00:00 2001
From: Haim Daniel
Date: Wed, 29 Mar 2017 08:43:46 +0300
Subject: [PATCH] staging: vc04_services: add parenthesis to macros
vchi_cfg.h:
fix checkpatch ERROR: Macros with complex values should be enclosed in parenthe
>From 41d35b455f8eb139912909639e914469ef5e06fb Mon Sep 17 00:00:00 2001
From: Haim Daniel
Date: Tue, 28 Mar 2017 19:27:57 +0300
Subject: [PATCH] [media] staging: css2400: fix checkpatch error
isp_capture_defs.h:
enclose macro with complex values in parentheses.
Signed-off-by: Haim Dan