Re: [patch 2/2] OSS: soundcard: fix return value of sound_open()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Sun, 10 Oct 2010 19:34:22 +0200,
Dan Carpenter wrote:
> 
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

Applied.  Thanks.


Takashi


> diff --git a/sound/oss/soundcard.c b/sound/oss/soundcard.c
> index a5ab61e..46c0d03 100644
> --- a/sound/oss/soundcard.c
> +++ b/sound/oss/soundcard.c
> @@ -249,7 +249,7 @@ static int sound_open(struct inode *inode, struct file *file)
>  	}
>  
>  	mutex_unlock(&soundcard_mutex);
> -	return 0;
> +	return retval;
>  }
>  
>  static int sound_release(struct inode *inode, struct file *file)
> 
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux