diff mbox series

[net-next,v2,4/5] net: phy: Makefile: Add makefile support for ptp in Microchip phys

Message ID 20241111125833.13143-5-divya.koppera@microchip.com (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series Add ptp library for Microchip phys | expand

Checks

Context Check Description
netdev/series_format success Posting correctly formatted
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 3 this patch: 3
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 8 of 8 maintainers
netdev/build_clang success Errors and warnings before: 4 this patch: 4
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn fail Errors and warnings before: 8 this patch: 9
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Divya Koppera Nov. 11, 2024, 12:58 p.m. UTC
Add makefile support for ptp library.

Signed-off-by: Divya Koppera <divya.koppera@microchip.com>
---
v1 -> v2
- No changes
---
 drivers/net/phy/Makefile | 1 +
 1 file changed, 1 insertion(+)

Comments

Jakub Kicinski Nov. 11, 2024, 6:07 p.m. UTC | #1
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@microchip.com>
> ---
> 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
Divya Koppera Nov. 12, 2024, 8:28 a.m. UTC | #2
Hi Jakub,

I will fix this in next revision. 

Thanks,
Divya

> -----Original Message-----
> From: Jakub Kicinski <kuba@kernel.org>
> Sent: Monday, November 11, 2024 11:38 PM
> To: Divya Koppera - I30481 <Divya.Koppera@microchip.com>
> Cc: andrew@lunn.ch; Arun Ramadoss - I17769
> <Arun.Ramadoss@microchip.com>; UNGLinuxDriver
> <UNGLinuxDriver@microchip.com>; hkallweit1@gmail.com;
> linux@armlinux.org.uk; davem@davemloft.net; edumazet@google.com;
> pabeni@redhat.com; netdev@vger.kernel.org; linux-kernel@vger.kernel.org;
> richardcochran@gmail.com
> 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@microchip.com>
> > ---
> > 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
diff mbox series

Patch

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/