summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-06-01 16:39:18 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-06-16 10:56:08 +1000
commitb2c6831dbf569b90c8873392834cdf697555beae (patch)
treec0fc222906ca61f15bc91d99233895367be2fdf5 /discover/device-handler.c
parent80343e07470e28e30efa36c3a7fdb7b129117b34 (diff)
downloadtalos-petitboot-b2c6831dbf569b90c8873392834cdf697555beae.tar.gz
talos-petitboot-b2c6831dbf569b90c8873392834cdf697555beae.zip
discover/platform-powerpc: Return bootdev error correctlyv1.1.1
In one case get_ipmi_bootdev_ipmi() can return 0 on an error, which leads to bootdev being treated as a valid bootdev despite being uninitialised. If the planets line up correctly and bootdev is less than or equal to IPMI_BOOTDEV_SETUP, Petitboot will incorrectly apply an IPMI override. Update the error return value in get_ipmi_bootdev_ipmi(), and properly initialise bootdev. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/device-handler.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud