On Thu, Jun 12, 2025 at 10:13:11AM +0800, Jijie Shao wrote:
This patch introduces a hns3_get_ae_dev() helper to reduce the unnecessaryThe definition already exist, so more like "use hns3_get_ae_dev()
middle layer conversion. Apply it to the whole HNS3 driver.
The former discusstion can be checked from the link.
wherever possible".
Link: https://patchwork.kernel.org/project/netdevbpf/patch/20230310081404.947-1-lanhao@xxxxxxxxxx/I think the comment is about going from netdev to your private
hnae3_ae_dev. You need hnae3_netdev_to_dev/pf/whatever().
Using already defined helper is fine, just please change the commit
message/title.
Signed-off-by: Jijie Shao <shaojijie@xxxxxxxxxx>[...]