[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <13154775-28f3-466c-8bd7-21ac51540a8b@lunn.ch>
Date: Tue, 8 Jul 2025 16:38:41 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Jijie Shao <shaojijie@...wei.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
shenjian15@...wei.com, liuyonglong@...wei.com,
chenhao418@...wei.com, jonathan.cameron@...wei.com,
shameerali.kolothum.thodi@...wei.com, salil.mehta@...wei.com,
arnd@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 05/11] net: hns3: use seq_file for files in tm/
in debugfs
> +#define hclge_seq_file_to_hdev(s) \
> + ((struct hclge_dev *)(hnae3_seq_file_to_ae_dev(s)->priv))
> +
priv is usually a void *, so you should not need the cast.
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists