Page MenuHomeFreeBSD

VFS_QUOTACTL: Remove needless casts of arg argument
ClosedPublic

Authored by brooks on Nov 4 2020, 10:01 PM.
Tags
None
Referenced Files
F151292968: D27093.id79187.diff
Tue, Apr 7, 9:23 AM
Unknown Object (File)
Mon, Apr 6, 6:15 AM
Unknown Object (File)
Mon, Apr 6, 2:35 AM
Unknown Object (File)
Sun, Apr 5, 4:04 PM
Unknown Object (File)
Tue, Mar 24, 12:34 AM
Unknown Object (File)
Sun, Mar 22, 6:16 PM
Unknown Object (File)
Mon, Mar 16, 7:19 PM
Unknown Object (File)
Feb 8 2026, 3:08 PM
Subscribers

Details

Summary

The argument is a void * so there's no need to cast it to caddr_t.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34673
Build 31740: arc lint + arc unit

Event Timeline

VFS_QUOTACTL(9) shows it as caddr_t, so I suppose that needs to be fixed as well.

This revision is now accepted and ready to land.Nov 4 2020, 10:29 PM
  • VFS_QUOTACTL(9): correct type of arg
This revision now requires review to proceed.Nov 6 2020, 6:15 PM
This revision is now accepted and ready to land.Dec 17 2020, 9:51 PM
This revision was automatically updated to reflect the committed changes.