All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: greybus: remove commented out function
@ 2020-03-08 22:22 Lourdes Pedrajas
  2020-03-09 11:53 ` [Outreachy kernel] " Stefano Brivio
  0 siblings, 1 reply; 8+ messages in thread
From: Lourdes Pedrajas @ 2020-03-08 22:22 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: gregkh

Remove function gb_i2c_smbus_xfer() which is unused.

Signed-off-by: Lourdes Pedrajas <lu@pplo.net>
---
 drivers/staging/greybus/i2c.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/drivers/staging/greybus/i2c.c b/drivers/staging/greybus/i2c.c
index ab06fc3b9e7e..c48fa1de89b0 100644
--- a/drivers/staging/greybus/i2c.c
+++ b/drivers/staging/greybus/i2c.c
@@ -215,20 +215,6 @@ static int gb_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
 	return gb_i2c_transfer_operation(gb_i2c_dev, msgs, msg_count);
 }
 
-#if 0
-/* Later */
-static int gb_i2c_smbus_xfer(struct i2c_adapter *adap,
-			     u16 addr, unsigned short flags, char read_write,
-			     u8 command, int size, union i2c_smbus_data *data)
-{
-	struct gb_i2c_device *gb_i2c_dev;
-
-	gb_i2c_dev = i2c_get_adapdata(adap);
-
-	return 0;
-}
-#endif
-
 static u32 gb_i2c_functionality(struct i2c_adapter *adap)
 {
 	struct gb_i2c_device *gb_i2c_dev = i2c_get_adapdata(adap);
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [Outreachy kernel] [PATCH] staging: greybus: remove commented out function
  2020-03-08 22:22 [PATCH] staging: greybus: remove commented out function Lourdes Pedrajas
@ 2020-03-09 11:53 ` Stefano Brivio
  2020-03-09 16:26   ` Lourdes Pedrajas
  0 siblings, 1 reply; 8+ messages in thread
From: Stefano Brivio @ 2020-03-09 11:53 UTC (permalink / raw)
  To: Lourdes Pedrajas; +Cc: outreachy-kernel, gregkh

On Sun,  8 Mar 2020 23:22:18 +0100
Lourdes Pedrajas <lu@pplo.net> wrote:

> Remove function gb_i2c_smbus_xfer() which is unused.
> 
> Signed-off-by: Lourdes Pedrajas <lu@pplo.net>
> ---
>  drivers/staging/greybus/i2c.c | 14 --------------
>  1 file changed, 14 deletions(-)
> 
> diff --git a/drivers/staging/greybus/i2c.c b/drivers/staging/greybus/i2c.c
> index ab06fc3b9e7e..c48fa1de89b0 100644
> --- a/drivers/staging/greybus/i2c.c
> +++ b/drivers/staging/greybus/i2c.c
> @@ -215,20 +215,6 @@ static int gb_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
>  	return gb_i2c_transfer_operation(gb_i2c_dev, msgs, msg_count);
>  }
>  
> -#if 0
> -/* Later */
> -static int gb_i2c_smbus_xfer(struct i2c_adapter *adap,
> -			     u16 addr, unsigned short flags, char read_write,
> -			     u8 command, int size, union i2c_smbus_data *data)
> -{
> -	struct gb_i2c_device *gb_i2c_dev;
> -
> -	gb_i2c_dev = i2c_get_adapdata(adap);
> -
> -	return 0;
> -}
> -#endif
> -
>  static u32 gb_i2c_functionality(struct i2c_adapter *adap)
>  {
>  	struct gb_i2c_device *gb_i2c_dev = i2c_get_adapdata(adap);

In case of doubt, this function isn't even a draft, and nobody
implemented it in six years, touched last time by commit
ed8800dc376e ("greybus: add i2c driver"). Change looks good to me.

However, you should at least Cc: the maintainers returned by
get_maintainer.pl.

-- 
Stefano



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Outreachy kernel] [PATCH] staging: greybus: remove commented out function
  2020-03-09 11:53 ` [Outreachy kernel] " Stefano Brivio
@ 2020-03-09 16:26   ` Lourdes Pedrajas
  2020-03-09 16:30     ` Julia Lawall
  2020-03-09 17:19     ` Vaishali Thakkar
  0 siblings, 2 replies; 8+ messages in thread
From: Lourdes Pedrajas @ 2020-03-09 16:26 UTC (permalink / raw)
  To: Stefano Brivio; +Cc: outreachy-kernel, gregkh

On Mon, Mar 09, 2020 at 12:53:27PM +0100, Stefano Brivio wrote:
> On Sun,  8 Mar 2020 23:22:18 +0100
> Lourdes Pedrajas <lu@pplo.net> wrote:
> 
> However, you should at least Cc: the maintainers returned by
> get_maintainer.pl.
> 
Yes, I was about to ask because I read somewhere in kernelnewbies wiki that
Outreachy paths hould no be CCd to everyone in the get_maintainer.pl list,
but I was wondering if this was really correct. So thank you for the hint!


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Outreachy kernel] [PATCH] staging: greybus: remove commented out function
  2020-03-09 16:26   ` Lourdes Pedrajas
@ 2020-03-09 16:30     ` Julia Lawall
  2020-03-09 16:38       ` Lourdes Pedrajas
  2020-03-09 17:19     ` Vaishali Thakkar
  1 sibling, 1 reply; 8+ messages in thread
From: Julia Lawall @ 2020-03-09 16:30 UTC (permalink / raw)
  To: Lourdes Pedrajas; +Cc: Stefano Brivio, outreachy-kernel, gregkh



On Mon, 9 Mar 2020, Lourdes Pedrajas wrote:

> On Mon, Mar 09, 2020 at 12:53:27PM +0100, Stefano Brivio wrote:
> > On Sun,  8 Mar 2020 23:22:18 +0100
> > Lourdes Pedrajas <lu@pplo.net> wrote:
> >
> > However, you should at least Cc: the maintainers returned by
> > get_maintainer.pl.
> >
> Yes, I was about to ask because I read somewhere in kernelnewbies wiki that
> Outreachy paths hould no be CCd to everyone in the get_maintainer.pl list,
> but I was wondering if this was really correct. So thank you for the hint!

Please search for get_maintainer in the tutorial and follow the
instructions there.  It gives some options that will get your patch to the
main people who are responsible for the file.

julia


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Outreachy kernel] [PATCH] staging: greybus: remove commented out function
  2020-03-09 16:30     ` Julia Lawall
@ 2020-03-09 16:38       ` Lourdes Pedrajas
  2020-03-10  9:11         ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: Lourdes Pedrajas @ 2020-03-09 16:38 UTC (permalink / raw)
  To: Julia Lawall; +Cc: Stefano Brivio, outreachy-kernel, gregkh

On Mon, Mar 09, 2020 at 05:30:25PM +0100, Julia Lawall wrote:
> 
> 
> On Mon, 9 Mar 2020, Lourdes Pedrajas wrote:
> 
> > On Mon, Mar 09, 2020 at 12:53:27PM +0100, Stefano Brivio wrote:
> > > On Sun,  8 Mar 2020 23:22:18 +0100
> > > Lourdes Pedrajas <lu@pplo.net> wrote:
> > >
> > > However, you should at least Cc: the maintainers returned by
> > > get_maintainer.pl.
> > >
> > Yes, I was about to ask because I read somewhere in kernelnewbies wiki that
> > Outreachy paths hould no be CCd to everyone in the get_maintainer.pl list,
> > but I was wondering if this was really correct. So thank you for the hint!
> 
> Please search for get_maintainer in the tutorial and follow the
> instructions there.  It gives some options that will get your patch to the
> main people who are responsible for the file.
> 
> julia

Yes, if is not too much spam I will resend the patches including
them, thank you!


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Outreachy kernel] [PATCH] staging: greybus: remove commented out function
  2020-03-09 16:26   ` Lourdes Pedrajas
  2020-03-09 16:30     ` Julia Lawall
@ 2020-03-09 17:19     ` Vaishali Thakkar
  2020-03-09 19:45       ` Lourdes Pedrajas
  1 sibling, 1 reply; 8+ messages in thread
From: Vaishali Thakkar @ 2020-03-09 17:19 UTC (permalink / raw)
  To: Lourdes Pedrajas; +Cc: Stefano Brivio, Outreachy, Greg KH

On Mon, Mar 9, 2020 at 9:57 PM Lourdes Pedrajas <lu@pplo.net> wrote:
>
> On Mon, Mar 09, 2020 at 12:53:27PM +0100, Stefano Brivio wrote:
> > On Sun,  8 Mar 2020 23:22:18 +0100
> > Lourdes Pedrajas <lu@pplo.net> wrote:
> >
> > However, you should at least Cc: the maintainers returned by
> > get_maintainer.pl.
> >
> Yes, I was about to ask because I read somewhere in kernelnewbies wiki that
> Outreachy paths hould no be CCd to everyone in the get_maintainer.pl list,
> but I was wondering if this was really correct. So thank you for the hint!

Hi Lourdes,

Could you please tell me which part of the kernel first patch tutorial says that
no other email addresses should be CC'ed? I thought we had cleared the
instructions under 'submit the first patch' part some rounds ago but given
that the tutorial is quite big, we might have missed some part(s).

> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20200309162655.GA3949%40supernova.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Outreachy kernel] [PATCH] staging: greybus: remove commented out function
  2020-03-09 17:19     ` Vaishali Thakkar
@ 2020-03-09 19:45       ` Lourdes Pedrajas
  0 siblings, 0 replies; 8+ messages in thread
From: Lourdes Pedrajas @ 2020-03-09 19:45 UTC (permalink / raw)
  To: Vaishali Thakkar; +Cc: Stefano Brivio, Outreachy, Greg KH

On Mon, Mar 09, 2020 at 10:49:09PM +0530, Vaishali Thakkar wrote:
> On Mon, Mar 9, 2020 at 9:57 PM Lourdes Pedrajas <lu@pplo.net> wrote:
> >
> > On Mon, Mar 09, 2020 at 12:53:27PM +0100, Stefano Brivio wrote:
> > > On Sun,  8 Mar 2020 23:22:18 +0100
> > > Lourdes Pedrajas <lu@pplo.net> wrote:
> > >
> > > However, you should at least Cc: the maintainers returned by
> > > get_maintainer.pl.
> > >
> > Yes, I was about to ask because I read somewhere in kernelnewbies wiki that
> > Outreachy paths hould no be CCd to everyone in the get_maintainer.pl list,
> > but I was wondering if this was really correct. So thank you for the hint!
> 
> Hi Lourdes,
> 
> Could you please tell me which part of the kernel first patch tutorial says that
> no other email addresses should be CC'ed? I thought we had cleared the
> instructions under 'submit the first patch' part some rounds ago but given
> that the tutorial is quite big, we might have missed some part(s).
> 
Hi Vaishali,

My bad, I was in a rush to read the instructions and this line:

On the other hand, the maintainers of staging/vc04_services would prefer not to
be CCd on Outreachy patches.

In https://kernelnewbies.org/Outreachyfirstpatch confused me. I am so
sorry!

Lourdes.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Outreachy kernel] [PATCH] staging: greybus: remove commented out function
  2020-03-09 16:38       ` Lourdes Pedrajas
@ 2020-03-10  9:11         ` Greg KH
  0 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2020-03-10  9:11 UTC (permalink / raw)
  To: Lourdes Pedrajas; +Cc: Julia Lawall, Stefano Brivio, outreachy-kernel

On Mon, Mar 09, 2020 at 05:38:04PM +0100, Lourdes Pedrajas wrote:
> On Mon, Mar 09, 2020 at 05:30:25PM +0100, Julia Lawall wrote:
> > 
> > 
> > On Mon, 9 Mar 2020, Lourdes Pedrajas wrote:
> > 
> > > On Mon, Mar 09, 2020 at 12:53:27PM +0100, Stefano Brivio wrote:
> > > > On Sun,  8 Mar 2020 23:22:18 +0100
> > > > Lourdes Pedrajas <lu@pplo.net> wrote:
> > > >
> > > > However, you should at least Cc: the maintainers returned by
> > > > get_maintainer.pl.
> > > >
> > > Yes, I was about to ask because I read somewhere in kernelnewbies wiki that
> > > Outreachy paths hould no be CCd to everyone in the get_maintainer.pl list,
> > > but I was wondering if this was really correct. So thank you for the hint!
> > 
> > Please search for get_maintainer in the tutorial and follow the
> > instructions there.  It gives some options that will get your patch to the
> > main people who are responsible for the file.
> > 
> > julia
> 
> Yes, if is not too much spam I will resend the patches including
> them, thank you!

Please do.

thanks,

greg k-h


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-10  9:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-08 22:22 [PATCH] staging: greybus: remove commented out function Lourdes Pedrajas
2020-03-09 11:53 ` [Outreachy kernel] " Stefano Brivio
2020-03-09 16:26   ` Lourdes Pedrajas
2020-03-09 16:30     ` Julia Lawall
2020-03-09 16:38       ` Lourdes Pedrajas
2020-03-10  9:11         ` Greg KH
2020-03-09 17:19     ` Vaishali Thakkar
2020-03-09 19:45       ` Lourdes Pedrajas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.