diff options
author | Arnd Bergmann <[email protected]> | 2023-01-17 17:46:35 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-01-18 12:03:54 +0100 |
commit | 3b8645e9ec7eb42e7df7a367d6787a3af53f37a9 (patch) | |
tree | 51cede6889006705ee6349d709235e5e8d1b74b5 /drivers/firmware/psci/psci.c | |
parent | 79ba1e607d68178db7d3fe4f6a4aa38f06805e7b (diff) |
cpuidle: mvebu: Fix duplicate flags assignment
The added '.flags' value is sometimes ignored here because
it gets overwritten by another initialization:
drivers/cpuidle/cpuidle-mvebu-v7.c:24:33: error: initialized field overwritten [-Werror=override-init]
24 | #define MVEBU_V7_FLAG_DEEP_IDLE 0x10000
| ^~~~~~~
drivers/cpuidle/cpuidle-mvebu-v7.c:69:43: note: in expansion of macro 'MVEBU_V7_FLAG_DEEP_IDLE'
...
Merge the two fields into one.
Fixes: 4ce40e9dbe83 ("cpuidle, armada: Push RCU-idle into driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions