ring-buffer-benchmark: Fix the wrong param in module_param
authorWang Long <long.wanglong@huawei.com>
Wed, 10 Jun 2015 08:11:13 +0000 (08:11 +0000)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 10 Jun 2015 19:44:35 +0000 (15:44 -0400)
The {producer|consumer}_{nice|fifo} parameters are integer
type, we should use 'int' as the second param in module_param.

For example(consumer_fifo):
the default value of consumer_fifo is -1.
   Without this patch:
        # cat /sys/module/ring_buffer_benchmark/parameters/consumer_fifo
        4294967295
   With this patch:
# cat /sys/module/ring_buffer_benchmark/parameters/consumer_fifo
-1

Link: http://lkml.kernel.org/r/1433923873-67712-1-git-send-email-long.wanglong@huawei.com
Signed-off-by: Wang Long <long.wanglong@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found