diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2023-12-07 01:42:31 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-01-03 01:51:39 +0300 |
commit | db02e176f597a14eb696141ffa008c2429453a15 (patch) | |
tree | e703b73dff9232616037fddbbb1a858f177ca338 /include/linux/compiler_attributes.h | |
parent | 1291b716bbf969e101d517bfb8ba18d958f758b8 (diff) | |
download | linux-db02e176f597a14eb696141ffa008c2429453a15.tar.xz |
PCI/AER: Use explicit register sizes for struct members
aer_irq() reads the AER Root Error Status and Error Source Identification
(PCI_ERR_ROOT_STATUS and PCI_ERR_ROOT_ERR_SRC) registers directly into
struct aer_err_source. Both registers are 32 bits, so declare the members
explicitly as "u32" instead of "unsigned int".
Similarly, aer_get_device_error_info() reads the AER Header Log
(PCI_ERR_HEADER_LOG) registers, which are also 32 bits, into struct
aer_header_log_regs. Declare those members as "u32" as well.
No functional changes intended.
Link: https://lore.kernel.org/r/20231206224231.732765-4-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions