Filter functions are deprecated, and unused in the tree. If either of
the filter or filterarg arguments to bus_dma_tag_create() are non-NULL,
print a warning.
This is a direct commit to stable/14.
Paths
| Differential D42897 Authored by mhorne on Dec 4 2023, 3:49 PM.
Details Summary Filter functions are deprecated, and unused in the tree. If either of This is a direct commit to stable/14.
Diff Detail
Event TimelineHerald added a reviewer: andrew. · View Herald TranscriptDec 4 2023, 3:49 PM2023-12-04 15:49:35 (UTC+0) Harbormaster completed remote builds in B54769: Diff 130991.Dec 4 2023, 3:49 PM2023-12-04 15:49:56 (UTC+0) This revision is now accepted and ready to land.Dec 4 2023, 6:01 PM2023-12-04 18:01:31 (UTC+0) Comment Actions It's a shame we can't print out the name of the offending device. Probably want this in stable/13 as well. Comment Actions
Indeed - I'm not particularly familiar with this interface but went looking to see if there was a reasonable way to give more information. We could perhaps print a backtrace? In practice though if a user sees this message asking for a (perhaps verbose) dmesg should be sufficient, I'd think. Closed by commit rG165cc0eea9d1: busdma: emit a warning for use of filters (authored by mhorne). · Explain WhyDec 7 2023, 12:20 AM2023-12-07 00:20:42 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 131094 sys/arm/arm/busdma_machdep.c
sys/arm64/arm64/busdma_machdep.c
sys/powerpc/powerpc/busdma_machdep.c
sys/riscv/riscv/busdma_machdep.c
sys/x86/x86/busdma_machdep.c
|