From: Wang Long Date: Wed, 10 Jun 2015 08:11:13 +0000 (+0000) Subject: ring-buffer-benchmark: Fix the wrong param in module_param X-Git-Tag: omap-for-v4.3/legacy-v2-signed~124^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7364e86547bc52a555c9317b32cc4e81c4d4fd7c;p=pandora-kernel.git 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: Wang Long Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed