[lm-sensors] [PATCH] drivers/firmware: const-ify DMI API and internals

Andi Kleen ak at suse.de
Sat Sep 1 18:33:08 CEST 2007


>     And if we're really lucky, this might enable some additional
>     optimizations on the part of the compiler.

Only if the kernel was compiled C++. C compilers generally ignore constness
for optimization purposes because it can be so easily casted away.

-Andi



More information about the lm-sensors mailing list