lkml.org 
[lkml]   [2014]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] kernel/locking/rtmutex-tester.c: kernel-doc warning fix
On Thu, Jun 05, 2014 at 08:29:25PM +0200, Fabian Frederick wrote:
> attr was added by commit
> 4a0b2b4dbe1335
> ("sysdev: Pass the attribute to the low level sysdev show/store function")
>
> and is unused here.

I think tglx has a patch killing this entire file somewhere..

> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
> ---
> kernel/locking/rtmutex-tester.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/kernel/locking/rtmutex-tester.c b/kernel/locking/rtmutex-tester.c
> index 1d96dd0..abdc7d1 100644
> --- a/kernel/locking/rtmutex-tester.c
> +++ b/kernel/locking/rtmutex-tester.c
> @@ -266,6 +266,7 @@ static int test_func(void *data)
> /**
> * sysfs_test_command - interface for test commands
> * @dev: thread reference
> + * @attr: unused
> * @buf: command for actual step
> * @count: length of buffer
> *
> @@ -334,6 +335,7 @@ static ssize_t sysfs_test_command(struct device *dev, struct device_attribute *a
> /**
> * sysfs_test_status - sysfs interface for rt tester
> * @dev: thread to query
> + * @attr: unused
> * @buf: char buffer to be filled with thread status info
> */
> static ssize_t sysfs_test_status(struct device *dev, struct device_attribute *attr,
> --
> 1.8.4.5
>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-06-06 10:41    [W:0.516 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site