[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150710.182650.555632423222261831.davem@davemloft.net>
Date: Fri, 10 Jul 2015 18:26:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: claudiu.manoil@...escale.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 4/4] gianfar: Add paged allocation and Rx S/G
From: Claudiu Manoil <claudiu.manoil@...escale.com>
Date: Thu, 9 Jul 2015 19:24:44 +0300
> @@ -2839,6 +2815,94 @@ static irqreturn_t gfar_transmit(int irq, void *grp_id)
> return IRQ_HANDLED;
> }
>
> +static bool gfar_add_rx_frag(struct gfar_rx_buff *rxb, unsigned int lstatus,
> + struct sk_buff *skb, bool first)
> +{
You really are again playing Russian Roulette with the type of
'lstatus' here. Use 'u32' consistently.
> +static struct sk_buff *gfar_get_next_rxbuff(struct gfar_priv_rx_q *rx_queue,
> + unsigned long lstatus,
> + struct sk_buff *skb)
Likewise.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists