svn commit: r225471 - stable/8/sys/dev/sound/usb
Hans Petter Selasky
hselasky at FreeBSD.org
Sat Sep 10 16:56:38 UTC 2011
Author: hselasky
Date: Sat Sep 10 16:56:38 2011
New Revision: 225471
URL: http://svn.freebsd.org/changeset/base/225471
Log:
MFC r225414:
Fix precedence warning when compiling kernel with clang.
Modified:
stable/8/sys/dev/sound/usb/uaudio.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/dev/sound/usb/uaudio.c
==============================================================================
--- stable/8/sys/dev/sound/usb/uaudio.c Sat Sep 10 16:52:15 2011 (r225470)
+++ stable/8/sys/dev/sound/usb/uaudio.c Sat Sep 10 16:56:38 2011 (r225471)
@@ -927,8 +927,8 @@ uaudio_chan_fill_info_sub(struct uaudio_
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;
More information about the svn-src-all
mailing list