From: Sam Ravnborg <sam@xxxxxxxxxxxx> Date: Sun, 24 Apr 2016 15:34:27 +0200 > From: Sam Ravnborg <sam@xxxxxxxxxxxx> > Date: Sun, 24 Apr 2016 15:24:33 +0200 > Subject: [PATCH 1/1] openprom: fix warning > > Fix following warnings: > openprom.c:510:2: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] > openprom.c:503:3: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] > openprom.c:459:8: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] > openprom.c:422:7: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] > > Fixed by introducing PTR_ERR etc. > This simplified the code as a nice side effect. > > Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html