Skip to contentSkip to conversation

ALSA: 6fire: use NULL instead of 0 for pointer assignment

PATCH Applied Daniel Mack 2 participants 2 messages Jun 16, 2012 – Jun 18, 2012 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: 6fire: use NULL instead of 0 for pointer assignment

Cc Torsten Schenk <[email protected]>
---
 sound/usb/6fire/firmware.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/usb/6fire/firmware.c +1 -1
index 6f9715a..56ad923 100644
@@ -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);
 
Signature · 1 line
1.7.10.2
Applied
#1 lore raw

At Sat, 16 Jun 2012 16:58:36 +0200,

Quoted 3 lines · Daniel Mack
Cc Torsten Schenk <[email protected]>

Thanks, applied.

Takashi

Quoted 25 lines
---
 sound/usb/6fire/firmware.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/usb/6fire/firmware.c +1 -1
index 6f9715a..56ad923 100644
@@ -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);
 
Signature · 6 lines
1.7.10.2

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel