NetBSD-Bugs archive

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

PR/58335 CVS commit: src/sys/dev/pci



The following reply was made to PR kern/58335; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58335 CVS commit: src/sys/dev/pci
Date: Tue, 25 Jun 2024 14:22:16 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Tue Jun 25 14:22:16 UTC 2024
 
 Modified Files:
 	src/sys/dev/pci: virtio_pci.c
 
 Log Message:
 virtio@pci: Nix useless sc_mapped_iosize.
 
 This appears to have been a mistaken attempt to pass the subregion
 length through to bus_space_unmap, which doesn't make any sense --
 bus_space_subregion does not allocate anything and the resulting
 handle must not be passed to bus_space_unmap.
 
 Once we pass the size that was actually returned by pci_mapreg_map to
 bus_space_unmap, which matches the size passed internally by
 pci_mapreg_map to bus_space_map, sc_mapped_iosize is no longer used
 and can be flushed.
 
 Prompted by PR kern/58335.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.46 -r1.47 src/sys/dev/pci/virtio_pci.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index