Page MenuHomeFreeBSD

Cleanup Rockchip clocks implementation.
ClosedPublic

Authored by mmel on Nov 8 2019, 5:14 PM.
Tags
None
Referenced Files
F135562367: D22281.id64085.diff
Mon, Nov 10, 8:27 PM
Unknown Object (File)
Sun, Nov 9, 12:32 PM
Unknown Object (File)
Sat, Nov 8, 7:59 PM
Unknown Object (File)
Sat, Nov 8, 7:49 AM
Unknown Object (File)
Thu, Nov 6, 11:35 PM
Unknown Object (File)
Sat, Nov 1, 6:04 AM
Unknown Object (File)
Mon, Oct 27, 4:27 PM
Unknown Object (File)
Sun, Oct 19, 1:53 AM
Subscribers

Details

Summary
  • style
  • unify dprinf defines
  • make dprinf's 32-bit compatible

Not a functional change.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 8 2019, 5:43 PM
sys/arm64/rockchip/clk/rk_clk_armclk.c
77 ↗(On Diff #64079)

maybe have a rockport option for this rather than #if 0

139 ↗(On Diff #64079)

Since j is uintmax_t, do you need a cast here, and points below?

sys/arm64/rockchip/clk/rk_clk_armclk.c
77 ↗(On Diff #64079)

this is for easy enabling of debug printfs for developer , file by file, clock by clock. I don't think that this can be used by 'normal' user.

139 ↗(On Diff #64079)

imo, this is safe area for arm32 long long int and for arm64 long int.
I agree that right way is cast to uintmax_t, but we talking about debug only code and line length is also important. (this mean that i prefer proposed code but i have no strict objection to add uintmax_t cast, even if this breaks code readability a bit..

This revision was automatically updated to reflect the committed changes.