chore: replace {0, 0} with {DEV,KOBJ}METHOD_ENDBoth of the aforementioned macros have been present in FreeBSDfor well over a decade: 2009 for `KOBJMETHOD_END`; 2011 for`DEVMETHOD_END`.Adapt all
chore: replace {0, 0} with {DEV,KOBJ}METHOD_ENDBoth of the aforementioned macros have been present in FreeBSDfor well over a decade: 2009 for `KOBJMETHOD_END`; 2011 for`DEVMETHOD_END`.Adapt all hardcoded references of `{0, 0}` with `DEVMETHOD_END`and `KOBJMETHOD_END` as appropriate. This helps ensure thatfuture adaptations to drivers following patterns documentedin driver(9) can be made more easily/without issue.MFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D55414
show more ...
isci(4): Fix two typos in a log messages- s/suspeneded/suspended/MFC after: 5 days
isci(4): Fix a typo in a source code comment- s/contants/constants/MFC after: 3 days
machine/stdarg.h -> sys/stdarg.hSwitch to using sys/stdarg.h for va_list type and va_* builtins.Make an attempt to insert the include in a sensible place. Wherestyle(9) was followed this is eas
machine/stdarg.h -> sys/stdarg.hSwitch to using sys/stdarg.h for va_list type and va_* builtins.Make an attempt to insert the include in a sensible place. Wherestyle(9) was followed this is easy, where it was ignored, aim for thefirst block of sys/*.h headers and don't get too fussy or try to fixother style bugs.Reviewed by: impExp-run by: antoine (PR 286274)Pull Request: https://github.com/freebsd/freebsd-src/pull/1595
isci: Remove dead codeThis code hasn't compiled for years, so just remove it.PR: 229954Sponsored by: Netflix
isci(4): Fix a typo in a source code comment- s/kength/length/MFC after: 3 days
Fix enum warning in isciThis fixes a clang 19 warning: sys/dev/isci/scil/scif_sas_smp_remote_device.c:197:26: error: comparison of different enumeration types ('SCI_IO_STATUS' (aka 'enum _SCI_
Fix enum warning in isciThis fixes a clang 19 warning: sys/dev/isci/scil/scif_sas_smp_remote_device.c:197:26: error: comparison of different enumeration types ('SCI_IO_STATUS' (aka 'enum _SCI_IO_STATUS') and 'enum _SCI_STATUS') [-Werror,-Wenum-compare] 197 | if (completion_status == SCI_FAILURE_RETRY_REQUIRED) | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~The `completion_status` variable is of type `SCI_IO_STATUS`, not`SCI_STATUS`. In this case, we can seamlessly replace the value with`SCI_IO_FAILURE_RETRY_REQUIRED`, which is numerically equal to`SCI_FAILURE_RETRY_REQUIRED`.MFC after: 3 days
Deprecate contigfree(9) in favour of free(9)As of 9e6544dd6e02c46b805d11ab925c4f3b18ad7a4b contigfree(9) is no longerneeded and should not be used anymore. We leave a wrapper for 3rd partycode i
Deprecate contigfree(9) in favour of free(9)As of 9e6544dd6e02c46b805d11ab925c4f3b18ad7a4b contigfree(9) is no longerneeded and should not be used anymore. We leave a wrapper for 3rd partycode in at least 15.x but remove (almost) all other cases from the tree.This leaves one use of contigfree(9) untouched; that was the originaltrigger for 9e6544dd6e02 and is handled in D45813 (to be committedseperately later).Sponsored by: The FreeBSD FoundationReviewed by: markj, kibTested by: pho (10h stress test run)Differential Revision: https://reviews.freebsd.org/D46099
isci: Fix typo (triple S)Reviewed by: impPull Request: https://github.com/freebsd/freebsd-src/pull/955
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remov
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
isci(4): Fix common typos in source code comments- s/reuqest/request/- s/requst/request/MFC after: 3 days
isci(4): Fix common typos in source code comments- s/assinged/assigned/MFC after: 3 days
isci(4): Fix a typo in a source code comment- s/interrutp/interrupt/MFC after:3 days
iscsi(4): Remove a double word in a source code comment - s/to to/to/MFC after: 3 days
isci(4): Fix a typo in a source code comment- s/paramater/parameter/MFC after: 3 days
isci: Remove unused devclass argument to DRIVER_MODULE.
iscsi(4): Remove a double word in a source code comment- s/for for/for/MFC after: 3 days
isci: Propagate error from bus_dma_tag_create.Return error from isci_controller_allocate_memory if bus_dma_tag_createfails instead of ignoring the error.
iscsi(4): Fix a typo in a source code comment- s/commmand/command/MFC after: 3 days
isci(4): Fix a typo in a source code comment- s/initialzied/initialized/MFC after: 3 days
isci(4): Fix a typo in a source code comment- s/differnt/different/MFC after: 3 days
isci(4): Fix a typo in a source code comment- s/recored/recorded/MFC after: 3 days
1234