Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/[email protected] Signed-off-by: Wang Long <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
- Loading branch information