[Intel-wired-lan] [PATCH iwl-next v5 02/15] idpf: add module register and probe functionality

Stephen Hemminger stephen at networkplumber.org
Sun May 14 01:45:35 UTC 2023


On Sat, 13 May 2023 15:56:57 -0700
Emil Tantilov <emil.s.tantilov at intel.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.


More information about the Intel-wired-lan mailing list