Fix ring buffer 32/64 bits compat
authorJulien Desfossez <jdesfossez@efficios.com>
Thu, 20 Sep 2012 16:00:05 +0000 (12:00 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 20 Sep 2012 16:01:26 +0000 (12:01 -0400)
commit216f7febb4924ce5136b12a02d34941367dc0ceb
treedf2fb6b5ce6ebf333934445d4c291cfe350850ee
parentae090dc5f192fba078e9b1a8c8aa88b73a8743da
Fix ring buffer 32/64 bits compat

The type of fields exchanged between kernel and userspace must be
compat_ulong_t instead of unsigned long in case of compat where
userspace is 32 bits and kernel is 64 bits.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/ring_buffer_vfs.c
lib/ringbuffer/vfs.h
This page took 0.025657 seconds and 4 git commands to generate.