[PATCH 0/6] firmware-qemu_fw_cfg: Fine-tuning for four function implementations

From: SF Markus Elfring
Date: Sun Sep 18 2016 - 08:49:36 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 18 Sep 2016 14:43:21 +0200

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (6):
Use kmalloc_array() in fw_cfg_register_dir_entries()
Improve a size determination in fw_cfg_register_file()
Rename jump labels in fw_cfg_register_file()
Improve a size determination in fw_cfg_build_symlink()
Rename jump labels in fw_cfg_sysfs_probe()
Move a variable assignment in fw_cfg_sysfs_probe()

drivers/firmware/qemu_fw_cfg.c | 53 +++++++++++++++++++++---------------------
1 file changed, 27 insertions(+), 26 deletions(-)

--
2.10.0