[PATCH 1/3] staging: cxt1e1: Remove useless OS_phystov() and OS_vtophys()

Greg KH gregkh at linuxfoundation.org
Sun Jun 29 21:21:44 UTC 2014


On Fri, Jun 27, 2014 at 06:52:26PM +0900, Daeseok Youn wrote:
> OS_phystov()/OS_vtophys() are replaced with __va()/__pa().

No, you should use virt_to_phys() and phys_to_virt() instead of these
internal macros which might not be correct for all architectures.

thanks,

greg k-h


More information about the devel mailing list