On 14/02/2025 03:35, Jon Pan-Doh wrote:
Update name to reflect the broader definition of structs/variables that are stored (e.g. ratelimits). Signed-off-by: Jon Pan-Doh <pandoh@xxxxxxxxxx> --- drivers/pci/pcie/aer.c | 50 +++++++++++++++++++++--------------------- include/linux/pci.h | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-)
(...)
- dev->aer_stats = kzalloc(sizeof(struct aer_stats), GFP_KERNEL); + dev->aer_report = kzalloc(sizeof(struct aer_report), GFP_KERNEL);
The rename brings back a checkpatch warning (to use sizeof(*dev->aer_report)). If you feel like it, you can fix it. Apart from that:
Reviewed-by: Karolina Stolarek <karolina.stolarek@xxxxxxxxxx> All the best, Karolina