Am 03.02.2014 03:09, schrieb Sujith Manoharan:
Oleksij Rempel wrote:
+rx_stats = kzalloc(sizeof(struct ath_rx_status), GFP_KERNEL);
+if (unlikely(rx_stats == NULL)) {
+ath_err(common, rx_stats allocation filed!\n);
+goto err_nofree;
+}
+
On 2014-02-03 12:22, Oleksij Rempel wrote:
Am 03.02.2014 03:09, schrieb Sujith Manoharan:
Oleksij Rempel wrote:
+ rx_stats = kzalloc(sizeof(struct ath_rx_status), GFP_KERNEL);
+ if (unlikely(rx_stats == NULL)) {
+ ath_err(common, rx_stats allocation filed!\n);
+ goto
Am 03.02.2014 13:07, schrieb Felix Fietkau:
On 2014-02-03 12:22, Oleksij Rempel wrote:
Am 03.02.2014 03:09, schrieb Sujith Manoharan:
Oleksij Rempel wrote:
+ rx_stats = kzalloc(sizeof(struct ath_rx_status), GFP_KERNEL);
+ if (unlikely(rx_stats == NULL)) {
+ ath_err(common,
Oleksij Rempel wrote:
+ rx_stats = kzalloc(sizeof(struct ath_rx_status), GFP_KERNEL);
+ if (unlikely(rx_stats == NULL)) {
+ ath_err(common, rx_stats allocation filed!\n);
+ goto err_nofree;
+ }
+ rx_status_htc_to_ath(rx_stats, rxbuf-rxstatus);
+
This
Signed-off-by: Oleksij Rempel li...@rempel-privat.de
---
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 43 +++
1 file changed, 43 insertions(+)
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
index