CDU: Fix complier warnings
A few fixes, all fairly minor:
cdu_db.c: Fix mixed declarations and code warning with ifdef
cdu_db: Fix printf specifier and arg type mismatch in CDU_DEBUG message
atomic64_read and friends look to always return a signed value (long
long int). Since this is a debug print statement, I'm not overly
concerned about the types to make sure the types agree all the back to
where they are declared.
Use CDU_USAGE_MAXENTRY instead of IPT_USAGE_MAXENTRY, IPT_USAGE_MAXENTRY
is defined elsewhere in the included headers.
Ratelimit the CDU_DEBUG message
Change-Id: Ia59186f8ed7ab99aa3c4a8050077494165bf87d7
2 files changed