Messages in this thread | | | Date | Wed, 03 Dec 2003 18:51:19 +0000 | From | Jon Foster <> | Subject | Re:[PATCH, 2.6.0-test11] more correct get_compat_timespec interface |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |