[alsa-devel] [PATCH 1/3] usb-us122l: replace 'unsigned' with 'unsigned int'
Takashi Sakamoto
o-takashi at sakamocchi.jp
Wed Jul 27 17:06:46 CEST 2016
This fashion is preferable to checkpatch.pl.
WARNING: Prefer 'unsigned int' to bare use of 'unsigned
Fixes: 030a07e4412 ('ALSA: Add USB US122L driver')
Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
---
sound/usb/usx2y/us122l.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/usb/usx2y/us122l.c b/sound/usb/usx2y/us122l.c
index cf5dc33..ace708f 100644
--- a/sound/usb/usx2y/us122l.c
+++ b/sound/usb/usx2y/us122l.c
@@ -377,7 +377,7 @@ out:
}
static int usb_stream_hwdep_ioctl(struct snd_hwdep *hw, struct file *file,
- unsigned cmd, unsigned long arg)
+ unsigned int cmd, unsigned long arg)
{
struct usb_stream_config *cfg;
struct us122l *us122l = hw->private_data;
--
2.7.4
More information about the Alsa-devel
mailing list