From: Stefan Hajnoczi <stefanha@gmail.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Stefan Weil <sw@weilnetz.de>,
qemu-devel@nongnu.org,
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: [Qemu-devel] [PATCH 04/12] Spelling fixes in comments and macro names (ressource -> resource)
Date: Fri, 14 Sep 2012 09:42:18 +0100 [thread overview]
Message-ID: <1347612146-5407-5-git-send-email-stefanha@gmail.com> (raw)
In-Reply-To: <1347612146-5407-1-git-send-email-stefanha@gmail.com>
From: Stefan Weil <sw@weilnetz.de>
Macro XEN_HOST_PCI_RESOURCE_BUFFER_SIZE is only used locally,
so the change should be safe.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
hw/xen-host-pci-device.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/xen-host-pci-device.c b/hw/xen-host-pci-device.c
index e7ff680..743b37b 100644
--- a/hw/xen-host-pci-device.c
+++ b/hw/xen-host-pci-device.c
@@ -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 400
static 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;
--
1.7.10.4
next prev parent reply other threads:[~2012-09-14 8:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-14 8:42 [Qemu-devel] [PULL 00/12] Trivial patches for 16 August to 14 September 2012 Stefan Hajnoczi
2012-09-14 8:42 ` [Qemu-devel] [PATCH 01/12] srp: Don't use QEMU_PACKED for single elements of a structured type Stefan Hajnoczi
2012-09-14 8:42 ` [Qemu-devel] [PATCH 02/12] Spelling fixes in comments and documentation Stefan Hajnoczi
2012-09-14 8:42 ` [Qemu-devel] [PATCH 03/12] Fix spelling (licenced -> licensed) in GPL Stefan Hajnoczi
2012-09-14 8:42 ` Stefan Hajnoczi [this message]
2012-09-14 8:42 ` [Qemu-devel] [PATCH 05/12] ui: Fix spelling in comment (ressource -> resource) Stefan Hajnoczi
2012-09-14 8:42 ` [Qemu-devel] [PATCH 06/12] linux-user: Remove #if 0'd cpu_get_real_ticks() definition Stefan Hajnoczi
2012-09-14 9:31 ` Riku Voipio
2012-09-14 8:42 ` [Qemu-devel] [PATCH 07/12] Fix copy&paste typos in documentation comments Stefan Hajnoczi
2012-09-14 8:42 ` [Qemu-devel] [PATCH 08/12] console: Clean up bytes per pixel calculation Stefan Hajnoczi
2012-09-14 8:42 ` [Qemu-devel] [PATCH 09/12] qapi: Fix enumeration typo error Stefan Hajnoczi
2012-09-14 8:42 ` [Qemu-devel] [PATCH 10/12] kvm: Fix warning from static code analysis Stefan Hajnoczi
2012-09-14 8:42 ` [Qemu-devel] [PATCH 11/12] arch_init.c: add missing '%' symbols before PRIu64 in debug printfs Stefan Hajnoczi
2012-09-14 8:42 ` [Qemu-devel] [PATCH 12/12] configure: fix seccomp check Stefan Hajnoczi
2012-09-17 18:20 ` [Qemu-devel] [PULL 00/12] Trivial patches for 16 August to 14 September 2012 Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1347612146-5407-5-git-send-email-stefanha@gmail.com \
--to=stefanha@gmail.com \
--cc=aliguori@us.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@linux.vnet.ibm.com \
--cc=sw@weilnetz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).