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

Takashi Iwai tiwai at suse.de
Mon Jun 18 09:43:14 CEST 2012


At Sat, 16 Jun 2012 16:58:36 +0200,
Daniel Mack wrote:
> 
> Signed-off-by: Daniel Mack <zonque at gmail.com>
> Cc: Torsten Schenk <torsten.schenk at zoho.com>

Thanks, applied.


Takashi

> ---
>  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
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list