Replace the manual read-modify-write sequences in
pci_aer_unmask_internal_errors()with pci_clear_and_set_config_dword().
This function performs the read/write operations atomically and reduces
code duplication.
Signed-off-by: Hans Zhang <18255117...@163.com>
---
drivers/pci/pcie/aer.c | 11 --
Hi
On 4/30/25 18:40, Srikar Dronamraju wrote:
* Shrikanth Hegde [2025-03-14 17:15:02]:
Hi Srikar.
use guard(mutex) for scope based resource management of mutex
This would make the code simpler and easier to maintain.
More details on lock guards can be found at
https://lore.ker