----------------github------------------------
/** Email created from pull request 693 (lumag:fix-cpu_max_hz)
** https://github.com/Linaro/odp/pull/693
** Patch: https://github.com/Linaro/odp/pull/693.patch
** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0
** Merge commit sha: 1585363355b8a72a90dd174216db95a06e062bad
**/
----------------/github------------------------
----------------checkpatch.pl------------------------
total: 0 errors, 0 warnings, 0 checks, 8 lines checked
to_send-p-000.patch has no obvious style problems and is ready for submission.
WARNING: line over 80 characters
#60: FILE: platform/linux-generic/arch/x86/odp_sysinfo_parse.c:48:
+ if (pos_end != NULL && sscanf(pos_end, "@ %lfGHz",
&ghz) == 1) {
WARNING: line over 80 characters
#66: FILE: platform/linux-generic/arch/x86/odp_sysinfo_parse.c:53:
+ } else if (!freq_set && (pos = strstr(str, "bogomips")) !=
NULL) {
ERROR: do not use assignment in if condition
#66: FILE: platform/linux-generic/arch/x86/odp_sysinfo_parse.c:53:
+ } else if (!freq_set && (pos = strstr(str, "bogomips")) !=
NULL) {
total: 1 errors, 2 warnings, 0 checks, 57 lines checked
to_send-p-001.patch has style problems, please review.
If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
----------------/checkpatch.pl------------------------