lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150610154450.108e33c4@gandalf.local.home>
Date:	Wed, 10 Jun 2015 15:44:50 -0400
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Wang Long <long.wanglong@...wei.com>
Cc:	<mingo@...hat.com>, <wanglong@...qinren.net>,
	<linux-kernel@...r.kernel.org>, <peifeiyue@...wei.com>
Subject: Re: [PATCH] ring-buffer-benchmark: Fix the wrong param in
 module_param

On Wed, 10 Jun 2015 08:11:13 +0000
Wang Long <long.wanglong@...wei.com> 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@...wei.com>
> ---

Thanks, Applied!

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ