common: Fix 32-bit print & scan issues The code doesn't work on 32-bit builds as the printf & scanf formats used are not correct. Fix these by using the formatting macros. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Andrew Davis <afd@ti.com>
common: autoadjust_table: Drop unused variable Use scan-build to catch unused variable Reported-by: Andrew Davis <afd@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
common: Fix memory leak in autoadjust_table_generic_fprint() The memory in line is not freed in one of the return paths, fix this here. Found using Clang Static Analyzer. Signed-off-by: Andrew Davis <afd@ti.com>
treewide: Replace http links with https Replace all the http links with https links using below command: git grep -in http:// | cut -d : -f 1 | xargs sed -i 's&http://&https://&' Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
common: Add support for printing tables Fetched the library from omapconf https://github.com/omapconf/omapconf/blob/master/common/autoadjust_table.c Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>