Re: [PATCH 1/3] scsi: qla1280: Fix a function name in comments

From: Martin K. Petersen
Date: Tue Sep 28 2021 - 23:13:22 EST



Cai,

> Use dma_map_single() instead of pci_map_single(),
> because only dma_map_single() is called here.

pci_map_single() was the appropriate interface when the change log entry
was written. And the original entry accurately describes the change that
was made to the code back then. Whereas your proposed fix does not.

There is little benefit to having change logs in drivers in a modern
context. However, these entries predate git history and should therefore
be preserved.

--
Martin K. Petersen Oracle Linux Engineering