Page MenuHomeFreeBSD

Cleanup Rockchip clocks implementation.
ClosedPublic

Authored by mmel on Nov 8 2019, 5:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 17 2024, 2:24 PM
Unknown Object (File)
Dec 22 2023, 10:55 PM
Unknown Object (File)
May 24 2023, 8:45 AM
Unknown Object (File)
Jan 20 2023, 8:43 PM
Unknown Object (File)
Dec 20 2022, 10:25 AM
Unknown Object (File)
Nov 29 2022, 4:53 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.