Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PowerCap: Fix build error with option -Werror=format-security
Fix compile error with gcc option: -Werror=format-security for dev_set_name(&control_type->dev, name). Changed to dev_set_name(&control_type->dev, "%s", name). Signed-off-by: Srinivas Pandruvada <[email protected]> Acked-by: Kees Cook <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
- Loading branch information