From: Thomas Ebeling <penguins@bollie.de>
To: alsa-devel@alsa-project.org
Cc: Takashi Iwai <tiwai@suse.com>
Subject: [PATCH] ALSA: Fixing usage of plain int instead of NULL
Date: Fri, 29 May 2020 19:32:56 +0200 [thread overview]
Message-ID: <20200529173248.zzawijfvw73kzjxt@bollie.ca9.eu> (raw)
As reported by kbuild test robot, mixer quirks for RME Babyface
Pro used plain integer instead of NULL.
Signed-off-by: Thomas Ebeling <penguins@bollie.de>
Reported-by: kbuild test robot <lkp@intel.com>
---
sound/usb/mixer_quirks.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
index aad2683ff793..b6bcf2f92383 100644
--- a/sound/usb/mixer_quirks.c
+++ b/sound/usb/mixer_quirks.c
@@ -2255,7 +2255,7 @@ static int snd_bbfpro_ctl_update(struct usb_mixer_interface *mixer, u8 reg,
err = snd_usb_ctl_msg(chip->dev,
usb_sndctrlpipe(chip->dev, 0), usb_req,
USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
- usb_val, usb_idx, 0, 0);
+ usb_val, usb_idx, NULL, 0);
snd_usb_unlock_shutdown(chip);
return err;
@@ -2394,7 +2394,7 @@ static int snd_bbfpro_vol_update(struct usb_mixer_interface *mixer, u16 index,
SND_BBFPRO_USBREQ_MIXER,
USB_DIR_OUT | USB_TYPE_VENDOR |
USB_RECIP_DEVICE,
- usb_val, usb_idx, 0, 0);
+ usb_val, usb_idx, NULL, 0);
snd_usb_unlock_shutdown(chip);
return err;
--
2.26.2
next reply other threads:[~2020-05-29 17:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-29 17:32 Thomas Ebeling [this message]
2020-05-29 17:53 ` [PATCH] ALSA: Fixing usage of plain int instead of NULL Takashi Iwai
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=20200529173248.zzawijfvw73kzjxt@bollie.ca9.eu \
--to=penguins@bollie.de \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.