staging: wilc1000: Fix lines over 80 characters
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v3 2/2 staging: wilc1000: Fix lines over 80 characters
Signed-off-by Anchal Jain <[email protected]>
---
changes in v3:
- Make the commit message more clear
drivers/staging/wilc1000/linux_mon.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-)
drivers/staging/wilc1000/linux_mon.c +11 -7
@@ -59,9 +59,10 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size)/* Get WILC header */ memcpy (&header, (buff -HOST_HDR_OFFSET ),HOST_HDR_OFFSET ); - -/* The packet offset field conain info about what type of managment frame */ -/* we are dealing with and ack status */ +/* +* The packet offset field contain info about what type of management +* the frame we are dealing with and ack status +*/ pkt_offset =GET_PKT_OFFSET (header);if (pkt_offset &IS_MANAGMEMENT_CALLBACK ) {
@@ -105,7 +106,7 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size) hdr->hdr.it_version =0 ;/* PKTHDR_RADIOTAP_VERSION; */ hdr->hdr.it_len =cpu_to_le16 (sizeof (struct wilc_wfi_radiotap_hdr )); hdr->hdr.it_present =cpu_to_le32 - (1 <<IEEE80211_RADIOTAP_RATE );/* | */ + (1 <<IEEE80211_RADIOTAP_RATE );/* | */ hdr->rate =5 ;/* txrate->bitrate / 5; */ }
@@ -127,8 +128,10 @@ struct tx_complete_mon_data {static void mgmt_tx_complete (void *priv,int status) {struct tx_complete_mon_data *pv_data = priv; - -/* incase of fully hosting mode, the freeing will be done in response to the cfg packet */ +/* +* in case of fully hosting mode, the freeing will be done +* in response to the cfg packet +*/ kfree (pv_data->buff);kfree (pv_data);
@@ -255,7 +258,8 @@ static const struct net_device_ops wilc_wfi_netdev_ops = {* @date 12 JUL 2012 * @version 1.0 */ -struct net_device *WILC_WFI_init_mon_interface (const char *name,struct net_device *real_dev) +struct net_device *WILC_WFI_init_mon_interface (const char *name, +struct net_device *real_dev) {u32 ret =0 ;struct WILC_WFI_mon_priv *priv;
Signature · 1 line
1.9.1
Quoted 4 lines · Anchal Jain
Signed-off-by Anchal Jain <[email protected]>---
changes in v3:
- Make the commit message more clear
Now there is no commit message.
julia
Quoted 63 lines
drivers/staging/wilc1000/linux_mon.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-)drivers/staging/wilc1000/linux_mon.c +11
-7@@ -59,9 +59,10 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size)/* Get WILC header */ memcpy (&header, (buff -HOST_HDR_OFFSET ),HOST_HDR_OFFSET ); - -/* The packet offset field conain info about what type of managment frame */ -/* we are dealing with and ack status */ +/* +* The packet offset field contain info about what type of management +* the frame we are dealing with and ack status +*/ pkt_offset =GET_PKT_OFFSET (header);if (pkt_offset &IS_MANAGMEMENT_CALLBACK ) {@@ -105,7 +106,7 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size) hdr->hdr.it_version =0 ;/* PKTHDR_RADIOTAP_VERSION; */ hdr->hdr.it_len =cpu_to_le16 (sizeof (struct wilc_wfi_radiotap_hdr )); hdr->hdr.it_present =cpu_to_le32 - (1 <<IEEE80211_RADIOTAP_RATE );/* | */ + (1 <<IEEE80211_RADIOTAP_RATE );/* | */ hdr->rate =5 ;/* txrate->bitrate / 5; */ }@@ -127,8 +128,10 @@ struct tx_complete_mon_data {static void mgmt_tx_complete (void *priv,int status) {struct tx_complete_mon_data *pv_data = priv; - -/* incase of fully hosting mode, the freeing will be done in response to the cfg packet */ +/* +* in case of fully hosting mode, the freeing will be done +* in response to the cfg packet +*/ kfree (pv_data->buff);kfree (pv_data);@@ -255,7 +258,8 @@ static const struct net_device_ops wilc_wfi_netdev_ops = {* @date 12 JUL 2012 * @version 1.0 */ -struct net_device *WILC_WFI_init_mon_interface (const char *name,struct net_device *real_dev) +struct net_device *WILC_WFI_init_mon_interface (const char *name, +struct net_device *real_dev) {u32 ret =0 ;struct WILC_WFI_mon_priv *priv;Signature · 8 lines
1.9.1 -- 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/2872c92d61078c94d0b7475c3900a841a13d72bd.1457882673.git.anchalj109%40gmail.com. For more options, visit https://groups.google.com/d/optout.