staging: vt6655: Fix style violation for line ending in '('
PATCH v2 1/1 staging: vt6655: Fix style violation for line ending in '('
Replace line ending with '(' with function parameters to resolve style issue found by checkpath.
---
Changes in v2:
- Make better use of the available horizontal space.
- Remove use of a line for ');' in function declarartion.
drivers/staging/vt6655/baseband.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)
drivers/staging/vt6655/baseband.h +4 -7
@@ -46,13 +46,10 @@#define TOP_RATE_2M 0x00200000#define TOP_RATE_1M 0x00100000 -unsigned int -BBuGetFrameTime ( -unsigned char byPreambleType, -unsigned char byPktType, -unsigned int cbFrameLength, -unsigned short wRate -); +unsigned int BBuGetFrameTime (unsigned char byPreambleType, +unsigned char byPktType, +unsigned int cbFrameLength, +unsigned short wRate);void vnt_get_phy_field (struct vnt_private *priv,u32 frame_length,u16 tx_rate,u8 pkt_type,struct vnt_phy_field *phy);
Signature · 1 line
2.14.3
Quoted 4 lines · Rinkle Jain
Replace line ending with '(' with function parameters to resolve style issue found by checkpath.
Signed-off-by Rinkle Jain <[email protected]>
Quoted 40 lines
---
Changes in v2:
- Make better use of the available horizontal space.
- Remove use of a line for ');' in function declarartion.drivers/staging/vt6655/baseband.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)drivers/staging/vt6655/baseband.h +4
-8@@ -46,13 +46,10 @@#define TOP_RATE_2M 0x00200000#define TOP_RATE_1M 0x00100000 -unsigned int -BBuGetFrameTime ( -unsigned char byPreambleType, -unsigned char byPktType, -unsigned int cbFrameLength, -unsigned short wRate -); +unsigned int BBuGetFrameTime (unsigned char byPreambleType, +unsigned char byPktType, +unsigned int cbFrameLength, +unsigned short wRate);void vnt_get_phy_field (struct vnt_private *priv,u32 frame_length,u16 tx_rate,u8 pkt_type,struct vnt_phy_field *phy); --2.14.3
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20180304072225.GA17701%40tic-tac.
For more options, visit https://groups.google.com/d/optout.