Fix precedence warning when compiling kernel with clang.

Approved by:	re (kib)
Submitted by:	dim
MFC after:	1 week
This commit is contained in:
Hans Petter Selasky 2011-09-06 08:15:55 +00:00
parent 62e3af5225
commit 5dc9d76584

View File

@ -927,8 +927,8 @@ uaudio_chan_fill_info_sub(struct uaudio_softc *sc, struct usb_device *udev,
continue;
}
if (asf1d->bLength < (sizeof(*asf1d) +
(asf1d->bSamFreqType == 0) ? 6 :
(asf1d->bSamFreqType * 3))) {
((asf1d->bSamFreqType == 0) ? 6 :
(asf1d->bSamFreqType * 3)))) {
DPRINTFN(11, "'asf1d' descriptor is too short\n");
asf1d = NULL;
continue;