Re: [PATCH] jump_label: constify jump_label_text_reserved and friends

2013-01-07 Thread Steven Rostedt
On Mon, 2013-01-07 at 11:40 -0500, Jason Baron wrote: > On Mon, Jan 07, 2013 at 08:58:09AM -0500, Sasha Levin wrote: > > jump_label_text_reserved() doesn't modify the memory it works on, it just > > checks whether there are any jump labels there. > > > > Constify the parameters of it to prevent wa

Re: [PATCH] jump_label: constify jump_label_text_reserved and friends

2013-01-07 Thread Sasha Levin
On 01/07/2013 11:40 AM, Jason Baron wrote: > On Mon, Jan 07, 2013 at 08:58:09AM -0500, Sasha Levin wrote: >> jump_label_text_reserved() doesn't modify the memory it works on, it just >> checks whether there are any jump labels there. >> >> Constify the parameters of it to prevent warnings when work

Re: [PATCH] jump_label: constify jump_label_text_reserved and friends

2013-01-07 Thread Jason Baron
On Mon, Jan 07, 2013 at 08:58:09AM -0500, Sasha Levin wrote: > jump_label_text_reserved() doesn't modify the memory it works on, it just > checks whether there are any jump labels there. > > Constify the parameters of it to prevent warnings when working with it. > I don't see any 'const' data pa

[PATCH] jump_label: constify jump_label_text_reserved and friends

2013-01-07 Thread Sasha Levin
jump_label_text_reserved() doesn't modify the memory it works on, it just checks whether there are any jump labels there. Constify the parameters of it to prevent warnings when working with it. Reviewed-by: Jamie Iles Signed-off-by: Sasha Levin --- include/linux/jump_label.h | 4 ++-- kernel/