* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) [not found] <20210518192729.3131eab0@canb.auug.org.au> @ 2021-05-18 16:32 ` Randy Dunlap 2021-05-18 16:43 ` Vladimir Oltean 2021-05-18 17:02 ` linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) Randy Dunlap 1 sibling, 1 reply; 12+ messages in thread From: Randy Dunlap @ 2021-05-18 16:32 UTC (permalink / raw) To: Stephen Rothwell, Linux Next Mailing List Cc: Linux Kernel Mailing List, netdev@vger.kernel.org, John Crispin, Ansuel Smith, Andrew Lunn, Vivien Didelot, Florian Fainelli, Vladimir Oltean [-- Attachment #1: Type: text/plain, Size: 646 bytes --] On 5/18/21 2:27 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20210514: > on x86_64: # CONFIG_OF is not set ../drivers/net/dsa/qca8k.c: In function ‘qca8k_mdio_register’: ../drivers/net/dsa/qca8k.c:797:9: error: implicit declaration of function ‘devm_of_mdiobus_register’; did you mean ‘devm_mdiobus_register’? [-Werror=implicit-function-declaration] return devm_of_mdiobus_register(priv->dev, bus, mdio); Should there be a stub for this function in <linux/of_mdio.h>? or the driver could add a dependency on OF_MDIO. Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap <rdunlap@infradead.org> [-- Attachment #2: config-r9381.gz --] [-- Type: application/gzip, Size: 34074 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) 2021-05-18 16:32 ` linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) Randy Dunlap @ 2021-05-18 16:43 ` Vladimir Oltean 2021-05-18 16:57 ` Randy Dunlap 2021-05-18 17:33 ` Andrew Lunn 0 siblings, 2 replies; 12+ messages in thread From: Vladimir Oltean @ 2021-05-18 16:43 UTC (permalink / raw) To: Randy Dunlap Cc: Stephen Rothwell, Linux Next Mailing List, Linux Kernel Mailing List, netdev@vger.kernel.org, John Crispin, Ansuel Smith, Andrew Lunn, Vivien Didelot, Florian Fainelli Hi Randy, On Tue, May 18, 2021 at 09:32:49AM -0700, Randy Dunlap wrote: > On 5/18/21 2:27 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20210514: > > > > on x86_64: > # CONFIG_OF is not set > > ../drivers/net/dsa/qca8k.c: In function ‘qca8k_mdio_register’: > ../drivers/net/dsa/qca8k.c:797:9: error: implicit declaration of function ‘devm_of_mdiobus_register’; did you mean ‘devm_mdiobus_register’? [-Werror=implicit-function-declaration] > return devm_of_mdiobus_register(priv->dev, bus, mdio); > > > Should there be a stub for this function in <linux/of_mdio.h>? > or the driver could add a dependency on OF_MDIO. > > Full randconfig file is attached. > > -- > ~Randy > Reported-by: Randy Dunlap <rdunlap@infradead.org> > Would something like this work? -----------------------------[ cut here ]----------------------------- From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001 From: Vladimir Oltean <olteanv@gmail.com> Date: Tue, 18 May 2021 19:39:18 +0300 Subject: [PATCH] net: mdio: provide shim implementation of devm_of_mdiobus_register Similar to the way in which of_mdiobus_register() has a fallback to the non-DT based mdiobus_register() when CONFIG_OF is not set, we can create a shim for the device-managed devm_of_mdiobus_register() which calls devm_mdiobus_register() and discards the struct device_node *. In particular, this solves a build issue with the qca8k DSA driver which uses devm_of_mdiobus_register and can be compiled without CONFIG_OF. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Vladimir Oltean <olteanv@gmail.com> --- include/linux/of_mdio.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h index 2b05e7f7c238..da633d34ab86 100644 --- a/include/linux/of_mdio.h +++ b/include/linux/of_mdio.h @@ -72,6 +72,13 @@ static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node * return mdiobus_register(mdio); } +static inline int devm_of_mdiobus_register(struct device *dev, + struct mii_bus *mdio, + struct device_node *np) +{ + return devm_mdiobus_register(dev, mdio); +} + static inline struct mdio_device *of_mdio_find_device(struct device_node *np) { return NULL; -----------------------------[ cut here ]----------------------------- ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) 2021-05-18 16:43 ` Vladimir Oltean @ 2021-05-18 16:57 ` Randy Dunlap 2021-05-18 17:02 ` Vladimir Oltean 2021-05-18 17:33 ` Andrew Lunn 1 sibling, 1 reply; 12+ messages in thread From: Randy Dunlap @ 2021-05-18 16:57 UTC (permalink / raw) To: Vladimir Oltean Cc: Stephen Rothwell, Linux Next Mailing List, Linux Kernel Mailing List, netdev@vger.kernel.org, John Crispin, Ansuel Smith, Andrew Lunn, Vivien Didelot, Florian Fainelli On 5/18/21 9:43 AM, Vladimir Oltean wrote: > Hi Randy, > > Would something like this work? > > -----------------------------[ cut here ]----------------------------- > From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001 > From: Vladimir Oltean <olteanv@gmail.com> > Date: Tue, 18 May 2021 19:39:18 +0300 > Subject: [PATCH] net: mdio: provide shim implementation of > devm_of_mdiobus_register > > Similar to the way in which of_mdiobus_register() has a fallback to the > non-DT based mdiobus_register() when CONFIG_OF is not set, we can create > a shim for the device-managed devm_of_mdiobus_register() which calls > devm_mdiobus_register() and discards the struct device_node *. > > In particular, this solves a build issue with the qca8k DSA driver which > uses devm_of_mdiobus_register and can be compiled without CONFIG_OF. > > Reported-by: Randy Dunlap <rdunlap@infradead.org> > Signed-off-by: Vladimir Oltean <olteanv@gmail.com> > --- > include/linux/of_mdio.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h > index 2b05e7f7c238..da633d34ab86 100644 > --- a/include/linux/of_mdio.h > +++ b/include/linux/of_mdio.h > @@ -72,6 +72,13 @@ static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node * > return mdiobus_register(mdio); > } > > +static inline int devm_of_mdiobus_register(struct device *dev, > + struct mii_bus *mdio, > + struct device_node *np) > +{ > + return devm_mdiobus_register(dev, mdio); > +} > + > static inline struct mdio_device *of_mdio_find_device(struct device_node *np) > { > return NULL; > -----------------------------[ cut here ]----------------------------- > Yes, that's all good. Thanks. Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested -- ~Randy ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) 2021-05-18 16:57 ` Randy Dunlap @ 2021-05-18 17:02 ` Vladimir Oltean 0 siblings, 0 replies; 12+ messages in thread From: Vladimir Oltean @ 2021-05-18 17:02 UTC (permalink / raw) To: Randy Dunlap Cc: Stephen Rothwell, Linux Next Mailing List, Linux Kernel Mailing List, netdev@vger.kernel.org, John Crispin, Ansuel Smith, Andrew Lunn, Vivien Didelot, Florian Fainelli On Tue, May 18, 2021 at 09:57:13AM -0700, Randy Dunlap wrote: > On 5/18/21 9:43 AM, Vladimir Oltean wrote: > > Hi Randy, > > > > Would something like this work? > > > > -----------------------------[ cut here ]----------------------------- > > From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001 > > From: Vladimir Oltean <olteanv@gmail.com> > > Date: Tue, 18 May 2021 19:39:18 +0300 > > Subject: [PATCH] net: mdio: provide shim implementation of > > devm_of_mdiobus_register > > > > Similar to the way in which of_mdiobus_register() has a fallback to the > > non-DT based mdiobus_register() when CONFIG_OF is not set, we can create > > a shim for the device-managed devm_of_mdiobus_register() which calls > > devm_mdiobus_register() and discards the struct device_node *. > > > > In particular, this solves a build issue with the qca8k DSA driver which > > uses devm_of_mdiobus_register and can be compiled without CONFIG_OF. > > > > Reported-by: Randy Dunlap <rdunlap@infradead.org> > > Signed-off-by: Vladimir Oltean <olteanv@gmail.com> > > --- > > include/linux/of_mdio.h | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h > > index 2b05e7f7c238..da633d34ab86 100644 > > --- a/include/linux/of_mdio.h > > +++ b/include/linux/of_mdio.h > > @@ -72,6 +72,13 @@ static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node * > > return mdiobus_register(mdio); > > } > > > > +static inline int devm_of_mdiobus_register(struct device *dev, > > + struct mii_bus *mdio, > > + struct device_node *np) > > +{ > > + return devm_mdiobus_register(dev, mdio); > > +} > > + > > static inline struct mdio_device *of_mdio_find_device(struct device_node *np) > > { > > return NULL; > > -----------------------------[ cut here ]----------------------------- > > > > Yes, that's all good. Thanks. > > Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Thanks. Waiting for a little bit longer for somebody a little more authoritative on the MDIO/PHY topic, will submit formally afterwards. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) 2021-05-18 16:43 ` Vladimir Oltean 2021-05-18 16:57 ` Randy Dunlap @ 2021-05-18 17:33 ` Andrew Lunn 2021-05-18 18:53 ` John Crispin 1 sibling, 1 reply; 12+ messages in thread From: Andrew Lunn @ 2021-05-18 17:33 UTC (permalink / raw) To: Vladimir Oltean Cc: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List, Linux Kernel Mailing List, netdev@vger.kernel.org, John Crispin, Ansuel Smith, Vivien Didelot, Florian Fainelli > Would something like this work? > > -----------------------------[ cut here ]----------------------------- > >From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001 > From: Vladimir Oltean <olteanv@gmail.com> > Date: Tue, 18 May 2021 19:39:18 +0300 > Subject: [PATCH] net: mdio: provide shim implementation of > devm_of_mdiobus_register > > Similar to the way in which of_mdiobus_register() has a fallback to the > non-DT based mdiobus_register() when CONFIG_OF is not set, we can create > a shim for the device-managed devm_of_mdiobus_register() which calls > devm_mdiobus_register() and discards the struct device_node *. > > In particular, this solves a build issue with the qca8k DSA driver which > uses devm_of_mdiobus_register and can be compiled without CONFIG_OF. > > Reported-by: Randy Dunlap <rdunlap@infradead.org> > Signed-off-by: Vladimir Oltean <olteanv@gmail.com> This should be O.K. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Thanks Andrew ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) 2021-05-18 17:33 ` Andrew Lunn @ 2021-05-18 18:53 ` John Crispin 0 siblings, 0 replies; 12+ messages in thread From: John Crispin @ 2021-05-18 18:53 UTC (permalink / raw) To: Andrew Lunn, Vladimir Oltean Cc: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List, Linux Kernel Mailing List, netdev@vger.kernel.org, Ansuel Smith, Vivien Didelot, Florian Fainelli On 18.05.21 19:33, Andrew Lunn wrote: >> Would something like this work? >> >> -----------------------------[ cut here ]----------------------------- >> >From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001 >> From: Vladimir Oltean <olteanv@gmail.com> >> Date: Tue, 18 May 2021 19:39:18 +0300 >> Subject: [PATCH] net: mdio: provide shim implementation of >> devm_of_mdiobus_register >> >> Similar to the way in which of_mdiobus_register() has a fallback to the >> non-DT based mdiobus_register() when CONFIG_OF is not set, we can create >> a shim for the device-managed devm_of_mdiobus_register() which calls >> devm_mdiobus_register() and discards the struct device_node *. >> >> In particular, this solves a build issue with the qca8k DSA driver which >> uses devm_of_mdiobus_register and can be compiled without CONFIG_OF. >> >> Reported-by: Randy Dunlap <rdunlap@infradead.org> >> Signed-off-by: Vladimir Oltean <olteanv@gmail.com> > This should be O.K. > > Reviewed-by: Andrew Lunn <andrew@lunn.ch> > > Thanks > Andrew Just did a x86 build with the patch applied and it completed ... Acked-by: John Crispin <john@phrozen.org> ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) [not found] <20210518192729.3131eab0@canb.auug.org.au> 2021-05-18 16:32 ` linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) Randy Dunlap @ 2021-05-18 17:02 ` Randy Dunlap 2021-05-25 17:30 ` Randy Dunlap 1 sibling, 1 reply; 12+ messages in thread From: Randy Dunlap @ 2021-05-18 17:02 UTC (permalink / raw) To: Stephen Rothwell, Linux Next Mailing List Cc: Linux Kernel Mailing List, netdev@vger.kernel.org, bpf, Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko [-- Attachment #1: Type: text/plain, Size: 437 bytes --] On 5/18/21 2:27 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20210514: > on i386: # CONFIG_NET is not set ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto': bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto' ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto' Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap <rdunlap@infradead.org> [-- Attachment #2: config-r9369.gz --] [-- Type: application/gzip, Size: 34789 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) 2021-05-18 17:02 ` linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) Randy Dunlap @ 2021-05-25 17:30 ` Randy Dunlap 2021-05-25 18:26 ` Daniel Borkmann 0 siblings, 1 reply; 12+ messages in thread From: Randy Dunlap @ 2021-05-25 17:30 UTC (permalink / raw) To: Stephen Rothwell, Linux Next Mailing List Cc: Linux Kernel Mailing List, netdev@vger.kernel.org, bpf, Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko On 5/18/21 10:02 AM, Randy Dunlap wrote: > On 5/18/21 2:27 AM, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20210514: >> > > on i386: > # CONFIG_NET is not set > > ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto': > bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto' > ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto' > > > Full randconfig file is attached. > Hi, I am still seeing this build error in linux-next-20210525. -- ~Randy Reported-by: Randy Dunlap <rdunlap@infradead.org> ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) 2021-05-25 17:30 ` Randy Dunlap @ 2021-05-25 18:26 ` Daniel Borkmann 2021-05-25 18:31 ` Daniel Borkmann 0 siblings, 1 reply; 12+ messages in thread From: Daniel Borkmann @ 2021-05-25 18:26 UTC (permalink / raw) To: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List Cc: Linux Kernel Mailing List, netdev@vger.kernel.org, bpf, Alexei Starovoitov, Andrii Nakryiko On 5/25/21 7:30 PM, Randy Dunlap wrote: > On 5/18/21 10:02 AM, Randy Dunlap wrote: >> On 5/18/21 2:27 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20210514: >>> >> >> on i386: >> # CONFIG_NET is not set >> >> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto': >> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto' >> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto' >> >> >> Full randconfig file is attached. >> > > Hi, > I am still seeing this build error in linux-next-20210525. Will take a look and get back. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) 2021-05-25 18:26 ` Daniel Borkmann @ 2021-05-25 18:31 ` Daniel Borkmann 2021-05-25 19:01 ` Randy Dunlap 0 siblings, 1 reply; 12+ messages in thread From: Daniel Borkmann @ 2021-05-25 18:31 UTC (permalink / raw) To: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List Cc: Linux Kernel Mailing List, netdev@vger.kernel.org, bpf, Alexei Starovoitov, Andrii Nakryiko Hi Randy, On 5/25/21 8:26 PM, Daniel Borkmann wrote: > On 5/25/21 7:30 PM, Randy Dunlap wrote: >> On 5/18/21 10:02 AM, Randy Dunlap wrote: >>> On 5/18/21 2:27 AM, Stephen Rothwell wrote: >>>> Hi all, >>>> >>>> Changes since 20210514: >>>> >>> >>> on i386: >>> # CONFIG_NET is not set >>> >>> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto': >>> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto' >>> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto' >>> >>> >>> Full randconfig file is attached. >>> >> >> Hi, >> I am still seeing this build error in linux-next-20210525. > > Will take a look and get back. This should resolve it: diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c index 5efb2b24012c..da471bf01b97 100644 --- a/kernel/bpf/bpf_lsm.c +++ b/kernel/bpf/bpf_lsm.c @@ -107,10 +107,12 @@ bpf_lsm_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) return &bpf_inode_storage_get_proto; case BPF_FUNC_inode_storage_delete: return &bpf_inode_storage_delete_proto; +#ifdef CONFIG_NET case BPF_FUNC_sk_storage_get: return &bpf_sk_storage_get_proto; case BPF_FUNC_sk_storage_delete: return &bpf_sk_storage_delete_proto; +#endif /* CONFIG_NET */ case BPF_FUNC_spin_lock: return &bpf_spin_lock_proto; case BPF_FUNC_spin_unlock: ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) 2021-05-25 18:31 ` Daniel Borkmann @ 2021-05-25 19:01 ` Randy Dunlap 2021-05-25 19:15 ` Daniel Borkmann 0 siblings, 1 reply; 12+ messages in thread From: Randy Dunlap @ 2021-05-25 19:01 UTC (permalink / raw) To: Daniel Borkmann, Stephen Rothwell, Linux Next Mailing List Cc: Linux Kernel Mailing List, netdev@vger.kernel.org, bpf, Alexei Starovoitov, Andrii Nakryiko On 5/25/21 11:31 AM, Daniel Borkmann wrote: > Hi Randy, > > On 5/25/21 8:26 PM, Daniel Borkmann wrote: >> On 5/25/21 7:30 PM, Randy Dunlap wrote: >>> On 5/18/21 10:02 AM, Randy Dunlap wrote: >>>> On 5/18/21 2:27 AM, Stephen Rothwell wrote: >>>>> Hi all, >>>>> >>>>> Changes since 20210514: >>>>> >>>> >>>> on i386: >>>> # CONFIG_NET is not set >>>> >>>> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto': >>>> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto' >>>> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto' >>>> >>>> >>>> Full randconfig file is attached. >>>> >>> >>> Hi, >>> I am still seeing this build error in linux-next-20210525. >> >> Will take a look and get back. > > This should resolve it: Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Thanks. > > diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c > index 5efb2b24012c..da471bf01b97 100644 > --- a/kernel/bpf/bpf_lsm.c > +++ b/kernel/bpf/bpf_lsm.c > @@ -107,10 +107,12 @@ bpf_lsm_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) > return &bpf_inode_storage_get_proto; > case BPF_FUNC_inode_storage_delete: > return &bpf_inode_storage_delete_proto; > +#ifdef CONFIG_NET > case BPF_FUNC_sk_storage_get: > return &bpf_sk_storage_get_proto; > case BPF_FUNC_sk_storage_delete: > return &bpf_sk_storage_delete_proto; > +#endif /* CONFIG_NET */ > case BPF_FUNC_spin_lock: > return &bpf_spin_lock_proto; > case BPF_FUNC_spin_unlock: -- ~Randy ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) 2021-05-25 19:01 ` Randy Dunlap @ 2021-05-25 19:15 ` Daniel Borkmann 0 siblings, 0 replies; 12+ messages in thread From: Daniel Borkmann @ 2021-05-25 19:15 UTC (permalink / raw) To: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List Cc: Linux Kernel Mailing List, netdev@vger.kernel.org, bpf, Alexei Starovoitov, Andrii Nakryiko On 5/25/21 9:01 PM, Randy Dunlap wrote: > On 5/25/21 11:31 AM, Daniel Borkmann wrote: >> On 5/25/21 8:26 PM, Daniel Borkmann wrote: >>> On 5/25/21 7:30 PM, Randy Dunlap wrote: >>>> On 5/18/21 10:02 AM, Randy Dunlap wrote: >>>>> On 5/18/21 2:27 AM, Stephen Rothwell wrote: >>>>>> Hi all, >>>>>> >>>>>> Changes since 20210514: >>>>> >>>>> on i386: >>>>> # CONFIG_NET is not set >>>>> >>>>> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto': >>>>> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto' >>>>> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto' >>>>> >>>>> Full randconfig file is attached. >>>> >>>> Hi, >>>> I am still seeing this build error in linux-next-20210525. >>> >>> Will take a look and get back. >> >> This should resolve it: > > Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Thanks Randy, fix pushed here [0]. [0] https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=3c9e8fec3c5a7833d891ac8e58fd9f6c2df0be91 ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2021-05-25 19:15 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20210518192729.3131eab0@canb.auug.org.au>
2021-05-18 16:32 ` linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) Randy Dunlap
2021-05-18 16:43 ` Vladimir Oltean
2021-05-18 16:57 ` Randy Dunlap
2021-05-18 17:02 ` Vladimir Oltean
2021-05-18 17:33 ` Andrew Lunn
2021-05-18 18:53 ` John Crispin
2021-05-18 17:02 ` linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) Randy Dunlap
2021-05-25 17:30 ` Randy Dunlap
2021-05-25 18:26 ` Daniel Borkmann
2021-05-25 18:31 ` Daniel Borkmann
2021-05-25 19:01 ` Randy Dunlap
2021-05-25 19:15 ` Daniel Borkmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).