LLVM warning in sys/compat/linux/linux_misc.c

2013-11-28 Thread Brad Smith
Remove unsigned comparison < 0. ../../../../compat/linux/linux_misc.c:1531:24: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare] Comments? OK? Index: linux_misc.c === RCS file: /home/cvs

LLVM warning in sys/dev/isa/sb.c

2013-11-28 Thread Brad Smith
The sc_model field is currently set to an unsigned int type but the Sound Blaster code expects a signed type since it sets the model to SB_UNK which as can be seen from the diff below has a value of -1. ../../../../dev/isa/sb.c:307:8: error: comparison of 0 <= unsigned expression is always true [

Re: inteldrm diff

2013-11-28 Thread Mark Kettenis
> Date: Mon, 18 Nov 2013 12:06:31 +0100 (CET) > From: Mark Kettenis > > It's not really surprising that your GM45-based system has a lot of > these issues. Neither jsg@ nor I have access to this hardware. If > somebody has a laptop with this chipset that they're willing to donate > and ship to

iwi(4) and iwn(4) fatal firmware error workaround

2013-11-28 Thread Mark Kettenis
Just committed the wpi(4) version I mailed out last week. And here is the version for iwi(4) and iwn(4) as promised. I believe both suffer from the problem, although I think it is a long time ago since my iwn(4) had issues. Please test if you can still suspend and resume with this diff, and if y