lkml.org 
[lkml]   [2015]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] debugfs: support read-only and write-only bool types
On Fri, Jun 05, 2015 at 03:34:45PM +0100, Richard Fitzgerald wrote:

> +static ssize_t debugs_read_wo_file(struct file *file, char __user *buf,
> + size_t count, loff_t *ppos)
> +{
> + return -EACCES;
> +}

Perhaps I'm missing something but shouldn't we be able to just omit
empty functions like this (this seems to be what the other ro/wo debugfs
defintions do otherwise these would already be there and it's what I'd
expect)?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-06-05 19:01    [W:0.055 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site