Re: [PATCH] I/O helpers rework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Atsushi Nemoto <anemo@xxxxxxxxxxxxx> writes:
> rsandifo> You can't dereference it, obviously, just like you can't
> rsandifo> deference a normal "void *".  But you can assign it to any
> rsandifo> "volatile T *" without an explicit cast.  I assumed that's
> rsandifo> what was happening in this case?
>
> Assigning "void *" to "volatile T *" is not a problem.  Compiler warns
> if you assigned "volatile T *" to "void *".

Ooops!  Quite right, and thanks for the correction.  (That's what
I meant to write really, honest ;)

Richard


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux