Re: [PATCH 00/17] Add export symbol namespace PL_CHROMEOS

From: Dmitry Torokhov
Date: Wed Jan 05 2022 - 17:50:51 EST


Hi Gwendal,

On Wed, Jan 5, 2022 at 2:07 PM Gwendal Grignou <gwendal@xxxxxxxxxxxx> wrote:
>
> Add a symbol namespace for functions exported by the plaform chromeos
> subsystem.

It would be great to explain why this is needed/desirable. What are
the benefits of introducing this namespace? What problem are you
trying to solve?

> Add depenencies for all drivers using these function.
>
> 'make nsdeps' is used to fix the dependencies.
>
> Signed-off-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
>
> Gwendal Grignou (17):
> plaform: chrome: Add PL_CHROMEOS export symbol namespace
> iio:cros_ec_sensors: Add PL_CHROMEOS dependency

I wonder if ordering patches this way breaks compilation (patches
should be structured in such a way that one need not apply entire
series to get to buildable kernel). Isn't putting symbols into new
namespace makes them unavailable to modules unless they explicitly
import it?

Thanks.

--
Dmitry