[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220803082151.14c32a57@hermes.local>
Date: Wed, 3 Aug 2022 08:21:51 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vadim Fedorenko <vfedorenko@...ek.ru>
Cc: Jakub Kicinski <kuba@...nel.org>,
Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>,
Jonathan Lemon <jonathan.lemon@...il.com>,
Vadim Fedorenko <vadfed@...com>, Aya Levin <ayal@...dia.com>,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-clk@...r.kernel.org
Subject: Re: [RFC PATCH v2 2/3] dpll: add netlink events
On Sun, 26 Jun 2022 22:24:43 +0300
Vadim Fedorenko <vfedorenko@...ek.ru> wrote:
> +
> +static cb_t event_cb[] = {
> + [DPLL_EVENT_DEVICE_CREATE] = dpll_event_device_create,
> + [DPLL_EVENT_DEVICE_DELETE] = dpll_event_device_delete,
> + [DPLL_EVENT_STATUS_LOCKED] = dpll_event_status,
> + [DPLL_EVENT_STATUS_UNLOCKED] = dpll_event_status,
> + [DPLL_EVENT_SOURCE_CHANGE] = dpll_event_source_change,
> + [DPLL_EVENT_OUTPUT_CHANGE] = dpll_event_output_change,
> +};
Function tables in kernel should always be const for added security
Powered by blists - more mailing lists