diff options
| author | Cédric Le Goater | 2016-03-10 15:04:00 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-03-11 15:59:13 +0100 |
| commit | 52fc01d9739d90086bf81987af5ed414ce89bbc4 (patch) | |
| tree | c03c2554e3e47526aaffb92711a13d362e5af66a /docs | |
| parent | ipmi: use a function to initialize the SDR table (diff) | |
| download | qemu-52fc01d9739d90086bf81987af5ed414ce89bbc4.tar.gz qemu-52fc01d9739d90086bf81987af5ed414ce89bbc4.tar.xz qemu-52fc01d9739d90086bf81987af5ed414ce89bbc4.zip | |
ipmi: remove the need of an ending record in the SDR table
Currently, the code initializing the sdr table relies on an ending
record with a recid of 0xffff. This patch changes the loop to use the
sdr size as a breaking condition.
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>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
