[PATCH phosphor-host-ipmid] host-ipmid: remove leading and trailing space and tab when setting bo…
OpenBMC Patches
openbmc-patches at stwcx.xyz
Tue Jun 14 13:30:39 AEST 2016
…ot options
This patch fixes issue: https://github.com/openbmc/skeleton/issues/56
In ipmi get bootparam handler, remove leading and trailing space and tab
before querying for boot flags.
There are several places we can check the user-set boot options:
* rest server
* phosphor-settingsd
* host-ipmid
Here the boot option is checked in host-ipmid, since currently
the host-ipmid knows whether a boot option is valid or not.
Signed-off-by: Yi Li <adamliyi at msn.com>
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/phosphor-host-ipmid/92)
<!-- Reviewable:end -->
https://github.com/openbmc/phosphor-host-ipmid/pull/92
Yi Li (1):
host-ipmid: remove leading and trailing space and tab when setting
boot options
chassishandler.C | 66 ++++++++++++++++++++++++++++++++++++++++----------------
1 file changed, 47 insertions(+), 19 deletions(-)
--
2.8.4
More information about the openbmc
mailing list