]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
MIPS: IP32: Fix build error due to uninitialized variable.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 22 May 2009 09:48:17 +0000 (10:48 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 22 May 2009 12:52:06 +0000 (13:52 +0100)
commit63c901c7e6fb878805cd2f8f14fa3eee8c03ee84
tree6a78bd7030ef38da831dafdacc0d299759cd495a
parent63d3892379f93b73ef905fb3449f4e4438a53b40
MIPS: IP32: Fix build error due to uninitialized variable.

  CC      arch/mips/sgi-ip32/ip32-reset.o
cc1: warnings being treated as errors
arch/mips/sgi-ip32/ip32-reset.c: In function 'debounce':
arch/mips/sgi-ip32/ip32-reset.c:97: error: 'reg_a' is used uninitialized in this function

The issues is old but due to the volatile keyword gcc older than 4.4 did
not warn about this obvious bug.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip32/ip32-reset.c