Page MenuHomeFreeBSD

Cleanup Rockchip clocks implementation.
ClosedPublic

Authored by mmel on Nov 8 2019, 5:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 2, 10:23 PM
Unknown Object (File)
Fri, Oct 2, 4:19 AM
Unknown Object (File)
Tue, Sep 29, 6:29 PM
Unknown Object (File)
Thu, Sep 17, 8:20 PM
Unknown Object (File)
Thu, Sep 17, 8:19 PM
Unknown Object (File)
Thu, Sep 17, 8:04 PM
Unknown Object (File)
Sep 13 2026, 4:45 PM
Unknown Object (File)
Sep 8 2026, 8:45 PM
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.