Re:[PATCH, 2.6.0-test11] more correct get_compat_timespec interface

From: Jon Foster
Date: Wed Dec 03 2003 - 13:52:45 EST


Hi,

>-int put_compat_timespec(struct timespec *ts, struct compat_timespec *cts)
>+int put_compat_timespec(struct timespec *ts, const struct compat_timespec *cts)
>{
>return (verify_area(VERIFY_WRITE, cts, sizeof(*cts)) ||
>__put_user(ts->tv_sec, &cts->tv_sec) ||

Shouldn't the "const" be on the other argument?

Kind regards,

Jon Foster

-
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/