Re: [PATCH] ring-buffer-benchmark: Fix the wrong param in module_param

From: Steven Rostedt
Date: Wed Jun 10 2015 - 15:45:03 EST


On Wed, 10 Jun 2015 08:11:13 +0000
Wang Long <long.wanglong@xxxxxxxxxx> wrote:

> 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
>
> Signed-off-by: Wang Long <long.wanglong@xxxxxxxxxx>
> ---

Thanks, Applied!

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/