Netdev List
 help / color / mirror / Atom feed
From: <Codrin.Ciubotariu@microchip.com>
To: <andrew@lunn.ch>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<Woojung.Huh@microchip.com>, <UNGLinuxDriver@microchip.com>,
	<vivien.didelot@gmail.com>, <f.fainelli@gmail.com>,
	<davem@davemloft.net>, <razvan.stefanescu@microchip.com>
Subject: Re: [PATCH v2] net: dsa: microchip: enable module autoprobe
Date: Fri, 7 Feb 2020 14:21:32 +0000	[thread overview]
Message-ID: <479af7b8-fc94-2d01-744f-b93ed31388ce@microchip.com> (raw)
In-Reply-To: <20200207133214.GB14393@lunn.ch>

On 07.02.2020 15:32, Andrew Lunn wrote:
> On Fri, Feb 07, 2020 at 12:46:43PM +0200, Codrin Ciubotariu wrote:
>> From: Razvan Stefanescu <razvan.stefanescu@microchip.com>
>>
>> This matches /sys/devices/.../spi1.0/modalias content.
>>
>> Signed-off-by: Razvan Stefanescu <razvan.stefanescu@microchip.com>
>> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
>> ---
>>
>> Changes in v2:
>>   - added alias for all the variants of this driver
>>
>>   drivers/net/dsa/microchip/ksz9477_spi.c | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/drivers/net/dsa/microchip/ksz9477_spi.c b/drivers/net/dsa/microchip/ksz9477_spi.c
>> index c5f64959a184..1142768969c2 100644
>> --- a/drivers/net/dsa/microchip/ksz9477_spi.c
>> +++ b/drivers/net/dsa/microchip/ksz9477_spi.c
>> @@ -101,6 +101,12 @@ static struct spi_driver ksz9477_spi_driver = {
>>
>>   module_spi_driver(ksz9477_spi_driver);
>>
>> +MODULE_ALIAS("spi:ksz9477");
>> +MODULE_ALIAS("spi:ksz9897");
>> +MODULE_ALIAS("spi:ksz9893");
>> +MODULE_ALIAS("spi:ksz9563");
>> +MODULE_ALIAS("spi:ksz8563");
>> +MODULE_ALIAS("spi:ksz9567");
>>   MODULE_AUTHOR("Woojung Huh <Woojung.Huh@microchip.com>");
>>   MODULE_DESCRIPTION("Microchip KSZ9477 Series Switch SPI access Driver");
>>   MODULE_LICENSE("GPL");
> 
> Hi Codrin
> 
> You might want to consider adding a Fixes tag?

Hi Andrew,

I thought about it, but I wasn't sure this patch is a fix.  And now that 
it includes aliases for all the variants, it might be tricky to add a 
Fixes tag since not all the variants were added at the same time. But I 
can split it into multiple patches, each with its Fixes, if you want me to.

> 
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> 
>      Andrew
> 

Thanks and best regards,
Codrin

  reply	other threads:[~2020-02-07 14:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-07 10:46 [PATCH v2] net: dsa: microchip: enable module autoprobe Codrin Ciubotariu
2020-02-07 13:32 ` Andrew Lunn
2020-02-07 14:21   ` Codrin.Ciubotariu [this message]
2020-02-07 14:26     ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=479af7b8-fc94-2d01-744f-b93ed31388ce@microchip.com \
    --to=codrin.ciubotariu@microchip.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=Woojung.Huh@microchip.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=razvan.stefanescu@microchip.com \
    --cc=vivien.didelot@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox