On Wed, Oct 07, 2020 at 07:36:25PM -0700, Joe Perches wrote: > Done with cocci script: > > @@ > identifier k_show; > identifier arg1, arg2, arg3; > @@ > ssize_t k_show(struct kobject * > - arg1 > + kobj > , struct kobj_attribute * > - arg2 > + attr > , char * > - arg3 > + buf > ) > { > ... > ( > - arg1 > + kobj > | > - arg2 > + attr > | > - arg3 > + buf > ) > ... > } This is nice > Signed-off-by: Joe Perches <joe@xxxxxxxxxxx> > --- > drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c | 26 ++++++++++---------- > drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c | 14 +++++------ > 2 files changed, 20 insertions(+), 20 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Thanks, Jason