[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix a typo
From: |
Stuart Brady |
Subject: |
[Qemu-devel] [PATCH] Fix a typo |
Date: |
Tue, 3 Jul 2007 12:33:56 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi,
The patch below fixes the spelling of 'overridden' in several places.
Please apply.
Cheers,
--
Stuart Brady
Index: audio/alsaaudio.c
===================================================================
RCS file: /sources/qemu/qemu/audio/alsaaudio.c,v
retrieving revision 1.9
diff -u -p -r1.9 alsaaudio.c
--- audio/alsaaudio.c 2 May 2007 02:11:51 -0000 1.9
+++ audio/alsaaudio.c 3 Jul 2007 11:20:48 -0000
@@ -50,11 +50,11 @@ static struct {
unsigned int period_size_out;
unsigned int threshold;
- int buffer_size_in_overriden;
- int period_size_in_overriden;
+ int buffer_size_in_overridden;
+ int period_size_in_overridden;
- int buffer_size_out_overriden;
- int period_size_out_overriden;
+ int buffer_size_out_overridden;
+ int period_size_out_overridden;
int verbose;
} conf = {
#define DEFAULT_BUFFER_SIZE 1024
@@ -75,10 +75,10 @@ static struct {
.period_size_in = DEFAULT_PERIOD_SIZE * 4,
.buffer_size_out = DEFAULT_BUFFER_SIZE,
.period_size_out = DEFAULT_PERIOD_SIZE,
- .buffer_size_in_overriden = 0,
- .buffer_size_out_overriden = 0,
- .period_size_in_overriden = 0,
- .period_size_out_overriden = 0,
+ .buffer_size_in_overridden = 0,
+ .buffer_size_out_overridden = 0,
+ .period_size_in_overridden = 0,
+ .period_size_out_overridden = 0,
#endif
.threshold = 0,
.verbose = 0
@@ -414,8 +414,8 @@ static int alsa_open (int in, struct als
}
else {
if (period_size < minval) {
- if ((in && conf.period_size_in_overriden)
- || (!in && conf.period_size_out_overriden)) {
+ if ((in && conf.period_size_in_overridden)
+ || (!in && conf.period_size_out_overridden)) {
dolog ("%s period size(%d) is less "
"than minmal period size(%ld)\n",
typ,
@@ -450,8 +450,8 @@ static int alsa_open (int in, struct als
}
else {
if (buffer_size < minval) {
- if ((in && conf.buffer_size_in_overriden)
- || (!in && conf.buffer_size_out_overriden)) {
+ if ((in && conf.buffer_size_in_overridden)
+ || (!in && conf.buffer_size_out_overridden)) {
dolog (
"%s buffer size(%d) is less "
"than minimal buffer size(%ld)\n",
@@ -945,16 +945,16 @@ static struct audio_option alsa_options[
{"DAC_SIZE_IN_USEC", AUD_OPT_BOOL, &conf.size_in_usec_out,
"DAC period/buffer size in microseconds (otherwise in frames)", NULL, 0},
{"DAC_PERIOD_SIZE", AUD_OPT_INT, &conf.period_size_out,
- "DAC period size", &conf.period_size_out_overriden, 0},
+ "DAC period size", &conf.period_size_out_overridden, 0},
{"DAC_BUFFER_SIZE", AUD_OPT_INT, &conf.buffer_size_out,
- "DAC buffer size", &conf.buffer_size_out_overriden, 0},
+ "DAC buffer size", &conf.buffer_size_out_overridden, 0},
{"ADC_SIZE_IN_USEC", AUD_OPT_BOOL, &conf.size_in_usec_in,
"ADC period/buffer size in microseconds (otherwise in frames)", NULL, 0},
{"ADC_PERIOD_SIZE", AUD_OPT_INT, &conf.period_size_in,
- "ADC period size", &conf.period_size_in_overriden, 0},
+ "ADC period size", &conf.period_size_in_overridden, 0},
{"ADC_BUFFER_SIZE", AUD_OPT_INT, &conf.buffer_size_in,
- "ADC buffer size", &conf.buffer_size_in_overriden, 0},
+ "ADC buffer size", &conf.buffer_size_in_overridden, 0},
{"THRESHOLD", AUD_OPT_INT, &conf.threshold,
"(undocumented)", NULL, 0},
Index: audio/audio.c
===================================================================
RCS file: /sources/qemu/qemu/audio/audio.c,v
retrieving revision 1.16
diff -u -p -r1.16 audio.c
--- audio/audio.c 17 Feb 2007 22:19:29 -0000 1.16
+++ audio/audio.c 3 Jul 2007 11:20:48 -0000
@@ -386,7 +386,7 @@ static void audio_print_options (const c
const char *state = "default";
printf (" %s_%s: ", uprefix, opt->name);
- if (opt->overridenp && *opt->overridenp) {
+ if (opt->overriddenp && *opt->overriddenp) {
state = "current";
}
@@ -516,10 +516,10 @@ static void audio_process_options (const
break;
}
- if (!opt->overridenp) {
- opt->overridenp = &opt->overriden;
+ if (!opt->overriddenp) {
+ opt->overriddenp = &opt->overridden;
}
- *opt->overridenp = !def;
+ *opt->overriddenp = !def;
qemu_free (optname);
}
}
Index: audio/audio_int.h
===================================================================
RCS file: /sources/qemu/qemu/audio/audio_int.h,v
retrieving revision 1.10
diff -u -p -r1.10 audio_int.h
--- audio/audio_int.h 16 Jul 2006 18:57:03 -0000 1.10
+++ audio/audio_int.h 3 Jul 2007 11:20:48 -0000
@@ -44,8 +44,8 @@ struct audio_option {
audio_option_tag_e tag;
void *valp;
const char *descr;
- int *overridenp;
- int overriden;
+ int *overriddenp;
+ int overridden;
};
struct audio_callback {
Index: hw/pxa2xx.c
===================================================================
RCS file: /sources/qemu/qemu/hw/pxa2xx.c,v
retrieving revision 1.15
diff -u -p -r1.15 pxa2xx.c
--- hw/pxa2xx.c 3 Jun 2007 15:19:33 -0000 1.15
+++ hw/pxa2xx.c 3 Jul 2007 11:20:48 -0000
@@ -2118,7 +2118,7 @@ struct pxa2xx_state_s *pxa270_init(unsig
s->i2s = pxa2xx_i2s_init(0x40400000, s->pic[PXA2XX_PIC_I2S], s->dma);
/* GPIO1 resets the processor */
- /* The handler can be overriden by board-specific code */
+ /* The handler can be overridden by board-specific code */
pxa2xx_gpio_handler_set(s->gpio, 1, pxa2xx_reset, s);
return s;
}
@@ -2227,7 +2227,7 @@ struct pxa2xx_state_s *pxa255_init(unsig
s->i2s = pxa2xx_i2s_init(0x40400000, s->pic[PXA2XX_PIC_I2S], s->dma);
/* GPIO1 resets the processor */
- /* The handler can be overriden by board-specific code */
+ /* The handler can be overridden by board-specific code */
pxa2xx_gpio_handler_set(s->gpio, 1, pxa2xx_reset, s);
return s;
}
Index: linux-user/syscall.c
===================================================================
RCS file: /sources/qemu/qemu/linux-user/syscall.c,v
retrieving revision 1.111
diff -u -p -r1.111 syscall.c
--- linux-user/syscall.c 21 Jun 2007 21:57:11 -0000 1.111
+++ linux-user/syscall.c 3 Jul 2007 11:20:49 -0000
@@ -184,7 +184,7 @@ extern int getresgid(gid_t *, gid_t *, g
extern int setgroups(int, gid_t *);
/*
- * This list is the union of errno values overidden in asm-<arch>/errno.h
+ * This list is the union of errno values overridden in asm-<arch>/errno.h
* minus the errnos that are not actually generic to all archs.
*/
static uint16_t host_to_target_errno_table[1200] = {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Fix a typo,
Stuart Brady <=