staging: vt6655f: rxtx: code style - Fix Lines should not end with a '('
PATCH 1/1 staging: vt6655f: rxtx: code style - Fix Lines should not end with a '('
From: Aliya Rahmani <[email protected]>
Removed indentation to fix the checkpatch error that lines should not end with a '('.
--- drivers/staging/vt6655/rxtx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/vt6655/rxtx.c +1 -2
@@ -569,8 +569,7 @@ s_uFillDataHead( static void -s_vFillRTSHead( - struct vnt_private *pDevice, +s_vFillRTSHead(struct vnt_private *pDevice, unsigned char byPktType, void *pvRTS, unsigned int cbFrameLength,
Signature · 1 line
2.25.1
Quoted 16 lines · aliya-rahmani
From: Aliya Rahmani <[email protected]>
Removed indentation to fix the checkpatch error that lines should not end with a '('.
Signed-off-by Aliya Rahmani <[email protected]>--- drivers/staging/vt6655/rxtx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/vt6655/rxtx.c +0
-0
drivers/staging/vt6655/rxtx.c s_uFillDataHead( · line 573
Quoted 7 lines
drivers/staging/vt6655/rxtx.c +1
-2@@ -569,8 +569,7 @@ s_uFillDataHead( static void -s_vFillRTSHead( - struct vnt_private *pDevice, +s_vFillRTSHead(struct vnt_private *pDevice, unsigned char byPktType,
Indent these lines as well and move the ) forward.
s_vFillRTSHead(struct vnt_private *pDevice,
unsigned char byPktType,
...
unsigned char byFBOption)
{
regards,
dan carpenter
Quoted 4 lines · aliya-rahmani
From: Aliya Rahmani <[email protected]>
Removed indentation to fix the checkpatch error that lines should not end with a '('.
The log message should be in the imperative, so it would be "Remove", not "Removed".
Maybe it would be nice to keep the parameters aligned, thus indent the others more?
In another patch you could improve the variable names and the function name. I'm not sure why static and void have to be on separate lines either.
julia
Quoted 26 lines
Signed-off-by Aliya Rahmani <[email protected]>--- drivers/staging/vt6655/rxtx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/vt6655/rxtx.c +1
-3@@ -569,8 +569,7 @@ s_uFillDataHead( static void -s_vFillRTSHead( - struct vnt_private *pDevice, +s_vFillRTSHead(struct vnt_private *pDevice, unsigned char byPktType, void *pvRTS, unsigned int cbFrameLength, --2.25.1