Spelling fixes in comments and macro names (ressource -> resource)
PATCH 1/1 Spelling fixes in comments and macro names (ressource -> resource)
Macro XEN_HOST_PCI_RESOURCE_BUFFER_SIZE is only used locally, so the change should be safe.
Signed-off-by Stefan Weil <[email protected]>
--- hw/xen-host-pci-device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
hw/xen-host-pci-device.c +3 -3
@@ -47,13 +47,13 @@ static int xen_host_pci_sysfs_path(const XenHostPCIDevice *d, } -/* This size should be enough to read the first 7 lines of a ressource file */ -#define XEN_HOST_PCI_RESSOURCE_BUFFER_SIZE 400 +/* This size should be enough to read the first 7 lines of a resource file */ +#define XEN_HOST_PCI_RESOURCE_BUFFER_SIZE 400static int xen_host_pci_get_resource (XenHostPCIDevice *d) {int i, rc, fd;char path[PATH_MAX ]; -char buf[XEN_HOST_PCI_RESSOURCE_BUFFER_SIZE ]; +char buf[XEN_HOST_PCI_RESOURCE_BUFFER_SIZE ];unsigned long long start, end, flags, size;char *endptr, *s;uint8_t type;
Signature · 1 line
1.7.10
Stefan Hajnoczi
AppliedQuoted 7 lines · Stefan Weil
Macro
XEN_HOST_PCI_RESOURCE_BUFFER_SIZEis only used locally, so the change should be safe.Signed-off-by Stefan Weil <[email protected]>--- hw/xen-host-pci-device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan
Am 16.08.2012 15:32, schrieb Stefan Hajnoczi:
Quoted 11 lines · Stefan Weil
Quoted 7 lines
Macro
XEN_HOST_PCI_RESOURCE_BUFFER_SIZEis only used locally, so the change should be safe.Signed-off-by Stefan Weil <[email protected]>--- hw/xen-host-pci-device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
CC'ing the Xen folks.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg