On Fri, 2003-05-02 at 03:04, Chuck Ebbert wrote:
> I realized after sending that last that I should have added that there
> were no volatiles and no aliasing possible. This was the kernel code:
>
> return conf->last_used = new_disk;
>
> (new_disk is a local variable, conf is a function arg.)
Since new_disk is on the stack, is there something about 'conf'
that guarenetes it is not on the stack too? F.e. what if
&conf->last_used were one byte into 'new_disk' or something
like that.
Probably this is all illegal...
-- David S. Miller <davem@redhat.com> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:18 EST