[alsa-devel] [PATCH] ALSA: 6fire: use NULL instead of 0 for pointer assignment

Daniel Mack zonque at gmail.com
Sat Jun 16 16:58:36 CEST 2012


Signed-off-by: Daniel Mack <zonque at gmail.com>
Cc: Torsten Schenk <torsten.schenk at zoho.com>
---
 sound/usb/6fire/firmware.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/usb/6fire/firmware.c b/sound/usb/6fire/firmware.c
index 6f9715a..56ad923 100644
--- a/sound/usb/6fire/firmware.c
+++ b/sound/usb/6fire/firmware.c
@@ -209,7 +209,7 @@ static int usb6fire_fw_ezusb_upload(
 	int ret;
 	u8 data;
 	struct usb_device *device = interface_to_usbdev(intf);
-	const struct firmware *fw = 0;
+	const struct firmware *fw = NULL;
 	struct ihex_record *rec = kmalloc(sizeof(struct ihex_record),
 			GFP_KERNEL);
 
-- 
1.7.10.2



More information about the Alsa-devel mailing list