Source-Changes-D archive

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

re: CVS commit: src/sys/dev/pci



"Paul Goyette" writes:
> Module Name:	src
> Committed By:	pgoyette
> Date:		Fri Jul  8 17:32:19 UTC 2022
>
> Modified Files:
> 	src/sys/dev/pci: nvme_pci.c
>
> Log Message:
> devsw_ok needs to survive across invocations of nvme_modcmd() so
> allocate it statically.
>
> Should address remaining issues with kern/56914

                if (error) {
+                       devsw_ok = false;


shouldn't devsw_ok be "false" here already?  seems more like
something to ASSERT() than assign.


.mrg.


Home | Main Index | Thread Index | Old Index