flex_array: fix flex_array_put_ptr macro to be valid C
authorEric Paris <eparis@redhat.com>
Mon, 29 Nov 2010 20:47:09 +0000 (15:47 -0500)
committerEric Paris <eparis@redhat.com>
Tue, 30 Nov 2010 22:28:57 +0000 (17:28 -0500)
commitc41ab6a1b9028de33e74101cb0aae13098a56fdb
treef56d5af7c2743623018b04b14cc4f47895c3bb3e
parentc9e86a9b95f198d7df49b25fcd808ee39cba218f
flex_array: fix flex_array_put_ptr macro to be valid C

Using flex_array_put_ptr() results in a compile error "error: lvalue
required as unary ‘&’ operand"  fix the casting order to fix this.

Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/flex_array.h