diff options
author | Joe Perches <joe@perches.com> | 2015-03-23 20:44:49 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-24 11:41:37 +0100 |
commit | 9a303dc7ba93769e96471158892b264042ddc3fc (patch) | |
tree | 69f29edc2be9efacd2a5e852052691029ce903df /sound/isa/wavefront/wavefront_fx.c | |
parent | ALSA: echoaudio: read past end of array (diff) | |
download | linux-9a303dc7ba93769e96471158892b264042ddc3fc.tar.xz linux-9a303dc7ba93769e96471158892b264042ddc3fc.zip |
sound: Deparenthesize negative error returns
Make the returns a bit more kernel standard style.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/wavefront/wavefront_fx.c')
-rw-r--r-- | sound/isa/wavefront/wavefront_fx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/isa/wavefront/wavefront_fx.c b/sound/isa/wavefront/wavefront_fx.c index b5a19708473a..0608a5a4289d 100644 --- a/sound/isa/wavefront/wavefront_fx.c +++ b/sound/isa/wavefront/wavefront_fx.c @@ -79,13 +79,13 @@ wavefront_fx_memset (snd_wavefront_t *dev, if (page < 0 || page > 7) { snd_printk ("FX memset: " "page must be >= 0 and <= 7\n"); - return -(EINVAL); + return -EINVAL; } if (addr < 0 || addr > 0x7f) { snd_printk ("FX memset: " "addr must be >= 0 and <= 7f\n"); - return -(EINVAL); + return -EINVAL; } if (cnt == 1) { @@ -118,7 +118,7 @@ wavefront_fx_memset (snd_wavefront_t *dev, snd_printk ("FX memset " "(0x%x, 0x%x, 0x%lx, %d) incomplete\n", page, addr, (unsigned long) data, cnt); - return -(EIO); + return -EIO; } } |