Why exported const value modified by another driver not updated in original driver
Dan Carpenter
dan.carpenter at oracle.com
Tue Sep 4 12:25:44 UTC 2012
On Tue, Sep 04, 2012 at 03:58:20PM +0530, Manavendra Nath Manav wrote:
> Is the above a genuine kernel bug, or i am missing something out here. Pls help.
>
When you declare something as const then the compiler assumes it
really is const and uses a literal instead of reading from memory.
I'm surprised the compiler doesn't print a warning message.
It has to do with compilers, nothing to do with kernels.
regards,
dan carpenter
More information about the devel
mailing list