A Andrzej Hajda #
Message details and related content
Hi, This is set of independent patches. The only connection between them is that they try to address problems spotted by proposed coccinelle semantic patch unsigned_lesser_than_zero.cocci[1]. Semantic patch finds comparisons of types: unsigned < 0 unsigned >= 0 The former is always false, the latter is always true. Such comparisons are useless, so theoretically they could be safely removed, but their presence quite often indicates bugs. This patchset contains mainly real bug fixes(patches 01-25), usually type fixes. Patches 26-37 removes unnecessary checks. Semantic patch found much more such places (more than 80), but since every case needs some analysis I have decided to leave them for antoher patchset. The last patch should be probably replaced with something better, I guess it should be treated rather as bug report. The patches are based on linux-next (20150918). Patches were only compile tested, so please look at them carefully. I have sent all patches to linux-kernel mailing list. Individual patches + cover letter went also to apropriate addresses, according to get_maintainers.pl script. One more thing. To fullfill different maintaner/subsystem requirements I have decided to prefix patch subjects with prefixes present in last 10 commits for affected files. I am not sure if this is the best solution, if there are any better solutions please let me know :) [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Regards Andrzej