]> git.baikalelectronics.ru Git - kernel.git/commit
USB: musb: suppress warning about unused flags
authorJon Povey <jon.povey@racelogic.co.uk>
Fri, 24 Sep 2010 10:44:10 +0000 (13:44 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:55 +0000 (10:21 -0700)
commitb88900604a3628cbcb54569d3afcd6a576e2b153
tree404faa64d4f3f9c746770df8830f58f85aeed16a
parent09902850d04397c8a4dddf69add26043a025511c
USB: musb: suppress warning about unused flags

Wrap flags with uninitialized_var() to suppress this:

drivers/usb/musb/cppi_dma.c:1158: warning: 'flags' may be used uninitialized
in this function

Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/cppi_dma.c