Skip to content
Commit 7364e865 authored by Wang Long's avatar Wang Long Committed by Steven Rostedt
Browse files

ring-buffer-benchmark: Fix the wrong param in module_param



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: default avatarWang Long <long.wanglong@huawei.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent a497adb4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment