Re: git: d1854272b646 - main - vt_core: make sure the driver's functions exist
- In reply to: Ahmad Khalifa : "git: d1854272b646 - main - vt_core: make sure the driver's functions exist"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Apr 2026 21:54:26 UTC
On Sun Apr 26, 2026 at 12:36 AM +0300, Ahmad Khalifa wrote: > The branch main has been updated by vexeduxr: > > URL: https://cgit.FreeBSD.org/src/commit/?id=d1854272b646306de6546f8e5702e8072051d7f6 > > commit d1854272b646306de6546f8e5702e8072051d7f6 > Author: Ahmad Khalifa <vexeduxr@FreeBSD.org> > AuthorDate: 2026-04-20 20:15:00 +0000 > Commit: Ahmad Khalifa <vexeduxr@FreeBSD.org> > CommitDate: 2026-04-25 21:35:08 +0000 > > vt_core: make sure the driver's functions exist > > These are NULL if they're not implemented. Make sure all the functions > we need are there before doing anything. > > Also invert the first if statment to lessen the indentation a bit. > > Reported by: Quentin Thébault <quentin.thebault@defenso.fr> > MFC after: 3 days Forgot to tag the review: https://reviews.freebsd.org/D56537