ipmi: add some local variables in ipmi_sdr_init
commit5167560b030d69fc51f60eefe09747a38cff88db
authorCédric Le Goater <clg@fr.ibm.com>
Thu, 10 Mar 2016 14:04:01 +0000 (10 15:04 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 11 Mar 2016 14:59:13 +0000 (11 16:59 +0200)
treee4cd0288ab5649fad1ba1d88961e98513acc6892
parent52fc01d9739d90086bf81987af5ed414ce89bbc4
ipmi: add some local variables in ipmi_sdr_init

This patch adds a couple of variables to manipulate the raw sdr
entries. The const attribute is also removed on init_sdrs. This will
ease the introduction of a sdr loader using a file.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/ipmi/ipmi_bmc_sim.c