libxl: fix DEFINE_DEVICES_ADD related typo in comment
PATCH 1/1 libxl: fix DEFINE_DEVICES_ADD related typo in comment
The macro DEFINE_DEVICES_ADD is called with "disk", not "disks".
Signed-off-by Olaf Hering <[email protected]>
--- tools/libxl/libxl_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxl/libxl_device.c +1 -1
@@ -521,7 +521,7 @@ void libxl__multidev_prepared(libxl__egc *egc,* This macro is added to prevent repetition of code. * * The following functions are defined: -* libxl__add_disks +* libxl__add_disk * libxl__add_nics * libxl__add_vtpms */
Quoted 1 line · Olaf Hering
The macro
DEFINE_DEVICES_ADDis called with "disk", not "disks".
... but the macro adds the trailing 's', so the comment is correct. Please drop this patch.
Olaf
Quoted 6 lines · Olaf Hering
Quoted 1 line · Olaf Hering
The macro
DEFINE_DEVICES_ADDis called with "disk", not "disks".... but the macro adds the trailing 's', so the comment is correct. Please drop this patch.
Done!