Re: [PATCH v2 4/8] PCI/AER: Rename struct aer_stats to aer_report

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux