From: David S. Miller Date: Thu, 27 Sep 2012 22:35:47 +0000 (-0400) Subject: pkt_sched: Fix warning false positives. X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f54ba7798848ce1385a71b36a2c997422c82220a;p=pandora-kernel.git pkt_sched: Fix warning false positives. GCC refuses to recognize that all error control flows do in fact set err to something. Add an explicit initialization to shut it up. net/sched/sch_drr.c: In function ‘drr_enqueue’: net/sched/sch_drr.c:359:11: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized] net/sched/sch_qfq.c: In function ‘qfq_enqueue’: net/sched/sch_qfq.c:885:11: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: David S. Miller --- Reading git-diff-tree failed