[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130321.120204.1455321557089470604.davem@davemloft.net>
Date: Thu, 21 Mar 2013 12:02:04 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: claudiu.manoil@...escale.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/3] gianfar: Remove 'maybe-uninitialized'
compile warning
From: Claudiu Manoil <claudiu.manoil@...escale.com>
Date: Thu, 21 Mar 2013 15:12:13 +0200
> Warning message:
> warning: 'budget_per_q' may be used uninitialized in this function
>
> budget_per_q won't be used uninitialized since the only time
> it doesn't get initialized is when entering gfar_poll with
> num_act_queues == 0, meaning rstat_rxf == 0, in which case
> budget_per_q is not utilized (as it has no meaning).
> Inititalize budget_per_q to 0 though to suppress this compile
> warning.
>
> Signed-off-by: Claudiu Manoil <claudiu.manoil@...escale.com>
Applied.
--
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