mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re:[PATCH, 2.6.0-test11] more correct get_compat_timespec interface
@ 2003-12-03 18:51 Jon Foster
  2003-12-03 21:31 ` [PATCH, " Joe Korty
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Foster @ 2003-12-03 18:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: joe.korty

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-03 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-03 18:51 Re:[PATCH, 2.6.0-test11] more correct get_compat_timespec interface Jon Foster
2003-12-03 21:31 ` [PATCH, " Joe Korty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®