Re: why "probe_kernel_address()", not "probe_user_address()"?

From: Denis Vlasenko
Date: Sun Oct 29 2006 - 07:04:54 EST


On Saturday 28 October 2006 22:30, Luca Tettamanti wrote:
> probe_kernel_address wrapper is used to "hide" the fact that we are
> re-using the infrastructure provided by a function with a confusing name
> ;) The cast to __user is needed to keep sparse quiet.

Shouldn't the above text be placed in a comment above probe_kernel_address()
definition? ;)
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/