net: wireless: rsi: Coding Spaces
PATCH 1/3 net: wireless: rsi: Coding Spaces
Removed space before that ','
--- drivers/net/wireless/rsi/rsi_91x_sdio_ops.c | 2 +- drivers/net/wireless/rsi/rsi_mgmt.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c +1 -1
@@ -435,7 +435,7 @@ void rsi_interrupt_handler(struct rsi_hw *adapter) }else {rsi_dbg (ERR_ZONE ,"%s: Firmware Status is 0x%x\n" , - __func__ , fw_status); + __func__, fw_status);rsi_sdio_ack_intr (common->priv, (1 <<FW_ASSERT_IND )); }
drivers/net/wireless/rsi/rsi_mgmt.h +2 -2
@@ -173,9 +173,9 @@ enum cmd_frame_type {AUTO_RATE_IND ,BOOTUP_PARAMS_REQUEST ,VAP_CAPABILITIES , -EEPROM_READ_TYPE , +EEPROM_READ_TYPE ,EEPROM_WRITE , -GPIO_PIN_CONFIG , +GPIO_PIN_CONFIG ,SET_RX_FILTER ,AMPDU_IND , STATS_REQUEST_FRAME,
Signature · 1 line
2.6.1
PATCH 2/3 net: wireless: b43: Fixed Pointer issue
Moved around pointer to avoid ERROR
--- drivers/net/wireless/b43/dma.h | 14 +++++++------- drivers/net/wireless/b43/main.c | 6 +++--- drivers/net/wireless/b43/main.h | 2 +- drivers/net/wireless/b43/xmit.h | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-)
enum b43_dmatype {
drivers/net/wireless/b43/main.c +3 -3
@@ -364,7 +364,7 @@ static struct ieee80211_supported_band b43_band_2ghz_limited = {static void b43_wireless_core_exit (struct b43_wldev *dev);static int b43_wireless_core_init (struct b43_wldev *dev); -static struct b43_wldev *b43_wireless_core_stop (struct b43_wldev *dev); +static struct b43_wldev *b43_wireless_core_stop (struct b43_wldev *dev);static int b43_wireless_core_start (struct b43_wldev *dev); static void b43_op_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
@@ -989,7 +989,7 @@ static void do_key_write(struct b43_wldev *dev,* 0xffffffff and let's b43_op_update_tkip_key provide a * correct pair. */ -rx_tkip_phase1_write (dev, index,0xffffffff , (u16 *)buf); +rx_tkip_phase1_write (dev, index,0xffffffff , (u16 *)buf); }else if (index >= pairwise_keys_start)/* clear it */ rx_tkip_phase1_write (dev, index,0 ,NULL );if (key)
@@ -4334,7 +4334,7 @@ out_unlock:/* Locking: wl->mutex * Returns the current dev. This might be different from the passed in dev, * because the core might be gone away while we unlocked the mutex. */ -static struct b43_wldev *b43_wireless_core_stop (struct b43_wldev *dev) +static struct b43_wldev *b43_wireless_core_stop (struct b43_wldev *dev) {struct b43_wl *wl;struct b43_wldev *orig_dev;
drivers/net/wireless/b43/main.h +1 -1
@@ -73,7 +73,7 @@ static inline int b43_is_ofdm_rate(int rate)u8 b43_ieee80211_antenna_sanitize (struct b43_wldev *dev,u8 antenna_nr); -void b43_tsf_read (struct b43_wldev *dev,u64 * tsf); +void b43_tsf_read (struct b43_wldev *dev,u64 *tsf);void b43_tsf_write (struct b43_wldev *dev,u64 tsf);u32 b43_shm_read32 (struct b43_wldev *dev,u16 routing,u16 offset);
drivers/net/wireless/b43/xmit.h +1 -1
@@ -203,7 +203,7 @@ size_t b43_txhdr_size(struct b43_wldev *dev)int b43_generate_txhdr (struct b43_wldev *dev, -u8 * txhdr, +u8 *txhdr,struct sk_buff *skb_frag,struct ieee80211_tx_info *txctl,u16 cookie);
Signature · 1 line
2.6.1
PATCH 3/3 net: wireless: b43: statics Don't init to 0
In reply to Paul McQuadeDon't turn statics to 0 or NULL
--- drivers/net/wireless/b43/main.c | 2 +- drivers/net/wireless/b43/phy_lp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/b43/main.c +1 -1
@@ -109,7 +109,7 @@ int b43_modparam_verbose = B43_VERBOSITY_DEFAULT;module_param_named (verbose, b43_modparam_verbose, int,0644 );MODULE_PARM_DESC (verbose,"Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug" ); -static int b43_modparam_pio =0 ; +static int b43_modparam_pio;module_param_named (pio, b43_modparam_pio, int,0644 );MODULE_PARM_DESC (pio,"Use PIO accesses by default: 0=DMA, 1=PIO" );
drivers/net/wireless/b43/phy_lp.c +1 -1
@@ -2502,7 +2502,7 @@ static int lpphy_b2063_tune(struct b43_wldev *dev, {struct ssb_bus *bus = dev->dev->sdev->bus; -static const struct b206x_channel *chandata =NULL ; +static const struct b206x_channel *chandata;u32 crystal_freq = bus->chipco.pmu.crystalfreq *1000 ;u32 freqref, vco_freq, val1, val2, val3, timeout, timeoutref, count;u16 old_comm15, scale;
Signature · 1 line
2.6.1
Re: [PATCH 2/3] net: wireless: b43: Fixed Pointer issue
In reply to Paul McQuadeQuoted 16 lines · On Sun, 18 Oct 2015 00:01:37 +0100 Paul McQuade <[email protected]> wrote:
Moved around pointer to avoid ERROR
Signed-off-by Paul McQuade <[email protected]>--- drivers/net/wireless/b43/dma.h | 14 +++++++------- drivers/net/wireless/b43/main.c | 6 +++--- drivers/net/wireless/b43/main.h | 2 +- drivers/net/wireless/b43/xmit.h | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-)enum
b43_dmatype{drivers/net/wireless/b43/main.c +0
-0
drivers/net/wireless/b43/main.c static struct ieee80211_supported_band b43_band_2ghz_limited = { · line 370
Quoted 8 lines
drivers/net/wireless/b43/main.c +1
-1@@ -364,7 +364,7 @@ static struct ieee80211_supported_band b43_band_2ghz_limited = {static void b43_wireless_core_exit (struct b43_wldev *dev);static int b43_wireless_core_init (struct b43_wldev *dev); -static struct b43_wldev *b43_wireless_core_stop (struct b43_wldev *dev); +static struct b43_wldev *b43_wireless_core_stop (struct b43_wldev *dev);static int b43_wireless_core_start (struct b43_wldev *dev); static void b43_op_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
Can we have a sane commit message, please?
This is not an 'error' or an 'issue'. It's purely cosmetical and coding style related.
Signature · 8 lines
Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20151018/18270295/attachment.sig>
Re: [PATCH 3/3] net: wireless: b43: statics Don't init to 0
In reply to Paul McQuadeQuoted 1 line · Paul McQuade
Don't turn statics to 0 or NULL
Same request as Michael's in 2/3. Your "statics Don't init to 0" message sounds strange, statics *are* initialized to 0 by default (as you probably know but described it in a unclear way).
Quoted 3 lines · Paul Mcquade
Removed space before that ','
Signed-off-by Paul McQuade <[email protected]>
The From: name and Signed-off-by: name should be same else some of the stats generating tools will break. It should be Paul McQuade, not Paul Mcquade. Maybe you have modified your .gitconfig recently.
And in the subject net: wireless: is not required. Can you please send v2..
regards
sudip