one wonders whether this professional beauty was let in to win the longest arg list award in linux: git.kernel.org/pub/scm/linux…

Mar 4, 2018 · 12:18 AM UTC

6
27
3
48
Replying to @paxteam
Seems like one should be able to instrument the compiler to track which function call receives the most parameters then rebuild the world and check the output.
1
that's how i ran across this one, the size overflow plugin has an assert on functions with over 31 args, we never hit it before. now the real beauty is in the callers ;).
5
Replying to @paxteam
High quality code from AMD. ;) Same goes for @coreboot_org agesa integration. They fired nearly all firmware devs and hired AMI to do the work. ¯\_(ツ)_/¯
1
1
Replying to @paxteam
*wash eyes repeatedly*
3
Replying to @paxteam
Probably this is a result of right click > refactor > move this to new function... :) without checking the final result.
1
Replying to @aris_ada @paxteam
I remember it this way: "if a function you're writing takes eight or nine parameters, you probably have forgotten three or four more you should add." 😅
1
Replying to @paxteam @VoidLinux
I also the excellent variable name choice with MyError, which suprisingly does not seem to be very common according to github github.com/torvalds/linux/se…
1
Replying to @paxteam
BWHAHAHAHAHA! ofcourse it's in a graphics driver! Where else would you see crap like this?