Page MenuHomeFreeBSD

kern: switch various devfs_notify() callers to devfs_notifyf()
AcceptedPublic

Authored by kevans on Mar 9 2022, 5:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 22 2024, 6:42 AM
Unknown Object (File)
Dec 24 2023, 1:43 PM
Unknown Object (File)
Dec 20 2023, 5:35 AM
Unknown Object (File)
Nov 23 2023, 1:13 PM
Unknown Object (File)
Nov 6 2023, 8:11 PM
Unknown Object (File)
Nov 1 2023, 9:44 PM
Unknown Object (File)
Sep 15 2023, 3:01 PM
Unknown Object (File)
Aug 18 2023, 3:09 PM

Details

Reviewers
imp
Summary

This is largely a simplification, avoiding extra allocations or string
manipulations where it's safe to do so (i.e., doesn't require extra
quoting).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44719
Build 41607: arc lint + arc unit

Event Timeline

kevans requested review of this revision.Mar 9 2022, 5:25 AM
kevans added a parent revision: D34504: kern: add devctl_notifyf().

I just noticed there's a devctl_notify(9) to update.

sys/dev/asmc/asmc.c
1358

I assumed the space here is insignificant and just gets absorbed as consecutive whitespace...

I wish we had a way to validate that things were safe, though...
Maybe I'll add it after you commit this.

sys/dev/asmc/asmc.c
1358

correct.

This revision is now accepted and ready to land.Mar 9 2022, 5:58 PM