[alsa-devel] [patch] [ALSA] hwdep: silence integer overflow warning

Dan Carpenter dan.carpenter at oracle.com
Fri Oct 28 08:45:25 CEST 2011


On Thu, Oct 20, 2011 at 09:39:23AM +0200, walter harms wrote:
> I am not sure how SNDRV_MINOR_HWDEPS is used further

Either device = SNDRV_MINOR_HWDEPS or device = SNDRV_MINOR_HWDEPS + 1
are fine (equivalent) but it's a fair point.  Your version is nicer.

I'll redo the patch.

regards,
dan carpenter



More information about the Alsa-devel mailing list