Page MenuHomeFreeBSD

share/man/man9/pwmbus.9 fix types in arguments
ClosedPublic

Authored by oskar.holmlund_ohdata.se on Mar 9 2021, 10:05 AM.
Tags
None
Referenced Files
F159759201: D29139.diff
Wed, Jun 17, 10:40 PM
Unknown Object (File)
Tue, Jun 16, 8:00 PM
Unknown Object (File)
Wed, Jun 10, 3:36 PM
Unknown Object (File)
Mon, Jun 1, 1:39 PM
Unknown Object (File)
May 15 2026, 10:18 AM
Unknown Object (File)
May 15 2026, 3:30 AM
Unknown Object (File)
May 14 2026, 5:35 PM
Unknown Object (File)
May 14 2026, 4:42 PM
Subscribers

Details

Summary

Fix the types of period and duty in share/man/man9/pwmbus.9 to match the one in sys/dev/pmw/pwmbus.c.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rpokala requested changes to this revision.Mar 10 2021, 3:44 AM
rpokala added a subscriber: rpokala.
rpokala added inline comments.
share/man/man9/pwmbus.9
43

The code in pwmbus.c has u_int for channel for all of these...

45

channel isn't an argument for this function.

This revision now requires changes to proceed.Mar 10 2021, 3:44 AM

pwmbus.9
change type for argument channel and the pointer nchannel (int -> u_int)

pwmbus_if.m:

  • argument name dev -> bus
  • use u_int instead of unsigned int.

rpokala: Thank you for your comments.

LGTM. Remember to bump .Dd when you commit.

This revision is now accepted and ready to land.Mar 11 2021, 8:27 AM
This revision was automatically updated to reflect the committed changes.