aboutsummaryrefslogtreecommitdiff
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorLi Zhong <[email protected]>2013-02-23 17:28:44 +0100
committerIngo Molnar <[email protected]>2013-02-24 12:57:15 +0100
commitc78a4bcd1a879b39fb7646c887b0c195f1018909 (patch)
tree79820d02a0a4d083fb0a9d7f940e44e3e748d761 /net/unix/garbage.c
parent45ebd3945b2a3cf4eb89d5fb0090a3cb71af7973 (diff)
cputime: Constify timeval_to_cputime(timeval) argument
Saw the following compiler warning on the linux-next tree: kernel/itimer.c: In function 'set_cpu_itimer': kernel/itimer.c:152:2: warning: passing argument 1 of 'timeval_to_cputime' discards 'const' qualifier from pointer target type [enabled by default] ... timeval_to_cputime() is always passed a constant timeval in argument, we need to teach the nsecs based cputime implementation about that. Signed-off-by: Li Zhong <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Kevin Hilman <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Kevin Hilman <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions