[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230513184535.1a07c5b3@hermes.local>
Date: Sat, 13 May 2023 18:45:35 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Emil Tantilov <emil.s.tantilov@...el.com>
Cc: intel-wired-lan@...ts.osuosl.org, shannon.nelson@....com,
simon.horman@...igine.com, leon@...nel.org, decot@...gle.com,
willemb@...gle.com, Phani Burra <phani.r.burra@...el.com>,
jesse.brandeburg@...el.com, anthony.l.nguyen@...el.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org, Alan Brady
<alan.brady@...el.com>, Madhu Chittim <madhu.chittim@...el.com>, Shailendra
Bhatnagar <shailendra.bhatnagar@...el.com>, Pavan Kumar Linga
<pavan.kumar.linga@...el.com>
Subject: Re: [PATCH iwl-next v5 02/15] idpf: add module register and probe
functionality
On Sat, 13 May 2023 15:56:57 -0700
Emil Tantilov <emil.s.tantilov@...el.com> wrote:
> +struct idpf_hw {
> + void __iomem *hw_addr;
> + resource_size_t hw_addr_len;
> +
> + void *back;
> +};
It is safer to use a typed pointer rather than untyped (void *) for
the back pointer. This could prevent bugs.
Powered by blists - more mailing lists