Re: [PATCH] thermal: netlink: Fix compilation error when CONFIG_NET=n

2020-07-21 Thread Amit Kucheria
On Tue, Jul 7, 2020 at 2:32 PM Daniel Lezcano wrote: > > When the network is not configured, the netlink are disabled on all > the system. The thermal framework assumed the netlink are always nit: s/are/is/ in both places above > opt-in. > > Fix this by adding a Kconfig option for the netlink

Re: [PATCH] thermal: netlink: Fix compilation error when CONFIG_NET=n

2020-07-07 Thread Randy Dunlap
On 7/7/20 8:49 AM, Daniel Lezcano wrote: > On 07/07/2020 17:47, Randy Dunlap wrote: >> On 7/7/20 2:01 AM, Daniel Lezcano wrote: >>> When the network is not configured, the netlink are disabled on all >>> the system. The thermal framework assumed the netlink are always >>> opt-in. >>> >>> Fix this

Re: [PATCH] thermal: netlink: Fix compilation error when CONFIG_NET=n

2020-07-07 Thread Daniel Lezcano
On 07/07/2020 17:47, Randy Dunlap wrote: > On 7/7/20 2:01 AM, Daniel Lezcano wrote: >> When the network is not configured, the netlink are disabled on all >> the system. The thermal framework assumed the netlink are always >> opt-in. >> >> Fix this by adding a Kconfig option for the netlink

Re: [PATCH] thermal: netlink: Fix compilation error when CONFIG_NET=n

2020-07-07 Thread Randy Dunlap
On 7/7/20 2:01 AM, Daniel Lezcano wrote: > When the network is not configured, the netlink are disabled on all > the system. The thermal framework assumed the netlink are always > opt-in. > > Fix this by adding a Kconfig option for the netlink notification, > defaulting to yes and depending on

[PATCH] thermal: netlink: Fix compilation error when CONFIG_NET=n

2020-07-07 Thread Daniel Lezcano
When the network is not configured, the netlink are disabled on all the system. The thermal framework assumed the netlink are always opt-in. Fix this by adding a Kconfig option for the netlink notification, defaulting to yes and depending on CONFIG_NET. As the change implies multiple stubs and