[PATCH] drivers/staging/batman-adv: fix function prototype

Greg KH gregkh at suse.de
Sun Jun 6 09:37:06 PDT 2010


On Sun, Jun 06, 2010 at 09:41:36AM +0200, Sven Eckelmann wrote:
> On Sunday 06 June 2010 03:23:28 you wrote:
> > In today linux-next I got a compile warning in staging/batman-adv.
> > 
> > This is due a struct bin_attribute read function prototype change and the
> > driver was not updated.
> > 
> > This patch solves the issue
> > 
> > Signed-off-by: Javier Martinez Canillas <martinez.javier at gmail.com>
> > ---
> [...]
> > 
> > -static ssize_t transtable_local_read(struct kobject *kobj,
> [...]
> > 
> > -static ssize_t transtable_global_read(struct kobject *kobj,
> [...]
> > 
> > -static ssize_t originators_read(struct kobject *kobj,
> [...]
> > 
> > -static ssize_t vis_data_read(struct kobject *kobj,
> [...]
> 
> These files were already removed and the patch is waiting in GregKH's queue.

Hm, but those files are not going to be removed until 2.6.36, right?  So
I think we need this patch now to keep 2.6.35 working properly.  Or am I
mistaken?

thanks,

greg k-h


More information about the devel mailing list