mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Fix precedence warning when compiling kernel with clang.
Approved by: re (kib) Submitted by: dim MFC after: 1 week
This commit is contained in:
parent
62e3af5225
commit
5dc9d76584
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225414
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user