Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2011 16:56:38 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r225471 - stable/8/sys/dev/sound/usb
Message-ID:  <201109101656.p8AGuckS001633@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109101656.p8AGuckS001633>