LWN: Comments on "Irked by NO_IRQ" https://lwn.net/Articles/470820/ This is a special feed containing comments posted to the individual LWN article titled "Irked by NO_IRQ". en-us Thu, 25 Sep 2025 05:35:39 +0000 Thu, 25 Sep 2025 05:35:39 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Irked by NO_IRQ https://lwn.net/Articles/472304/ https://lwn.net/Articles/472304/ Tov <div class="FormattedComment"> Wouldn't they be "other positives" instead of just "false positives"?<br> In what type of robust code is (var &lt; 0) considered a valid comparison on an unsigned value?<br> </div> Thu, 15 Dec 2011 17:03:34 +0000 Irked by NO_IRQ https://lwn.net/Articles/471272/ https://lwn.net/Articles/471272/ clugstj <div class="FormattedComment"> And then you'd have to sift through the 5 bazillion false positives.<br> </div> Thu, 08 Dec 2011 18:32:04 +0000 Irked by NO_IRQ https://lwn.net/Articles/471237/ https://lwn.net/Articles/471237/ nteon <div class="FormattedComment"> Wouldn't changing all the places irq's are stored to unsigned allow gcc's -Wsign-compare to point out where (irq &lt; 0) happens? It seems like this would be fairly straightforward for structures.<br> </div> Thu, 08 Dec 2011 16:02:24 +0000 Irked by NO_IRQ https://lwn.net/Articles/471233/ https://lwn.net/Articles/471233/ xav <div class="FormattedComment"> That semantic search-and-replace looks like a perfect job for Coccinelle[1] to me.<br> <p> [1]: <a href="https://lwn.net/Articles/315686/">https://lwn.net/Articles/315686/</a><br> </div> Thu, 08 Dec 2011 15:43:47 +0000