staging: gpib: format no multiple blank lines
PATCH 1/1 staging: gpib: format no multiple blank lines
Avoid adding multiple blank lines. Reported by checkpatch.
Signed-off-by Ian To <[email protected]>
--- drivers/staging/gpib/hp_82341/hp_82341.h | 1 - 1 file changed, 1 deletion(-)
drivers/staging/gpib/hp_82341/hp_82341.h +0 -1
@@ -26,7 +26,6 @@ struct hp_82341_priv {enum hp_82341_hardware_version hw_version; }; -// interface functions int hp_82341_accel_read (gpib_board_t *board,uint8_t *buffer,size_t length,int *end,size_t *bytes_read);
Signature · 1 line
2.45.3
Greg KH
maintainerQuoted 23 lines · Ian To
Avoid adding multiple blank lines. Reported by checkpatch.
Signed-off-by Ian To <[email protected]>--- drivers/staging/gpib/hp_82341/hp_82341.h | 1 - 1 file changed, 1 deletion(-)drivers/staging/gpib/hp_82341/hp_82341.h +0
-1@@ -26,7 +26,6 @@ struct hp_82341_priv {enum hp_82341_hardware_version hw_version; }; -// interface functions int hp_82341_accel_read (gpib_board_t *board,uint8_t *buffer,size_t length,int *end,size_t *bytes_read);Signature · 1 line
2.45.3
Does not apply cleanly to 6.14-rc1 :(
Quoted 16 lines · Greg KH
Quoted 15 lines · Ian To
Avoid adding multiple blank lines. Reported by checkpatch.
Signed-off-by Ian To <[email protected]>--- drivers/staging/gpib/hp_82341/hp_82341.h | 1 - 1 file changed, 1 deletion(-)drivers/staging/gpib/hp_82341/hp_82341.h +0
-0@@ -26,7 +26,6 @@ struct hp_82341_priv {enum hp_82341_hardware_version hw_version; };
Quoted 10 lines
Quoted 8 lines
drivers/staging/gpib/hp_82341/hp_82341.h +0
-1-// interface functions int hp_82341_accel_read (gpib_board_t *board,uint8_t *buffer,size_t length,int *end,size_t *bytes_read);Signature · 1 line
2.45.3Does not apply cleanly to 6.14-rc1 :(
An earlier patch, commit 8418753187ba ("staging: gpib: Make static, reduce fwd declarations") changed this file. It is at this point checkpatch clean. cheers,
-dave