Files
kernel_amazon_mt8127-common/include/linux
Artem Bityutskiy f4b477c473 rbtree: add const qualifier to some functions
The 'rb_first()', 'rb_last()', 'rb_next()' and 'rb_prev()' calls
take a pointer to an RB node or RB root. They do not change the
pointed objects, so add a 'const' qualifier in order to make life
of the users of these functions easier.

Indeed, if I have my own constant pointer &const struct my_type *p,
and I call 'rb_next(&p->rb)', I get a GCC warning:

warning: passing argument 1 of ‘rb_next’ discards qualifiers from pointer target type

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-10 06:04:33 -08:00
..
2009-01-06 11:07:54 -08:00
2009-01-08 12:38:58 +00:00
2009-01-09 12:37:15 -08:00
2009-01-07 17:38:32 -05:00
2008-12-29 08:29:50 +01:00
2009-01-06 15:59:29 -08:00
2009-01-01 10:12:19 +10:30
2009-01-04 13:33:20 -08:00
2009-01-08 08:31:10 -08:00
2009-01-02 12:19:34 -08:00
2008-12-29 17:47:23 +10:00
2008-12-31 18:07:38 -05:00
2008-12-29 07:39:34 -05:00
2008-12-29 11:27:46 +02:00
2008-12-31 18:07:42 -05:00
2009-01-06 15:59:01 -08:00
2009-01-07 14:29:17 +01:00
2009-01-06 10:50:09 -08:00
2008-12-31 18:07:42 -05:00
2009-01-08 08:31:00 -08:00
2009-01-05 08:40:30 -08:00
2008-12-31 15:11:46 +01:00
2009-01-03 14:11:07 +01:00
2009-01-08 16:34:27 -05:00
2009-01-08 08:31:07 -08:00
2009-01-07 17:38:31 -05:00
2009-01-08 08:31:05 -08:00
2009-01-08 08:31:12 -08:00
2009-01-06 10:44:30 -08:00
2009-01-06 15:59:12 -08:00
2009-01-05 18:31:12 -08:00
2009-01-04 13:33:20 -08:00
2009-01-07 09:58:22 +11:00
2008-12-30 09:05:16 +10:30
2009-01-08 08:31:10 -08:00
2009-01-01 10:12:25 +10:30
2009-01-02 10:19:36 -08:00
2009-01-07 10:00:14 -08:00
2009-01-06 15:59:09 -08:00