RE: [PATCH net-next v2 4/5] net: phy: Makefile: Add makefile support for ptp in Microchip phys
From: Divya.Koppera
Date: Tue Nov 12 2024 - 03:30:37 EST
Hi Jakub,
I will fix this in next revision.
Thanks,
Divya
> -----Original Message-----
> From: Jakub Kicinski <kuba@xxxxxxxxxx>
> Sent: Monday, November 11, 2024 11:38 PM
> To: Divya Koppera - I30481 <Divya.Koppera@xxxxxxxxxxxxx>
> Cc: andrew@xxxxxxx; Arun Ramadoss - I17769
> <Arun.Ramadoss@xxxxxxxxxxxxx>; UNGLinuxDriver
> <UNGLinuxDriver@xxxxxxxxxxxxx>; hkallweit1@xxxxxxxxx;
> linux@xxxxxxxxxxxxxxx; davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx;
> pabeni@xxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> richardcochran@xxxxxxxxx
> Subject: Re: [PATCH net-next v2 4/5] net: phy: Makefile: Add makefile support
> for ptp in Microchip phys
>
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On Mon, 11 Nov 2024 18:28:32 +0530 Divya Koppera wrote:
> > Add makefile support for ptp library.
> >
> > Signed-off-by: Divya Koppera <divya.koppera@xxxxxxxxxxxxx>
> > ---
> > v1 -> v2
> > - No changes
> > ---
> > drivers/net/phy/Makefile | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile index
> > 90f886844381..58a4a2953930 100644
> > --- a/drivers/net/phy/Makefile
> > +++ b/drivers/net/phy/Makefile
> > @@ -80,6 +80,7 @@ obj-$(CONFIG_MESON_GXL_PHY) += meson-gxl.o
> > obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o
> > obj-$(CONFIG_MICREL_PHY) += micrel.o
> > obj-$(CONFIG_MICROCHIP_PHY) += microchip.o
> > +obj-$(CONFIG_MICROCHIP_PHYPTP) += microchip_ptp.o
> > obj-$(CONFIG_MICROCHIP_T1_PHY) += microchip_t1.o
> > obj-$(CONFIG_MICROCHIP_T1S_PHY) += microchip_t1s.o
> > obj-$(CONFIG_MICROSEMI_PHY) += mscc/
>
> sparse complains:
>
> drivers/net/phy/microchip_ptp.c:615:30: warning: cast from restricted
> __be16