Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address -Wuninitialized warnings in drivers/base/regmap/regcache-maple.c #321

Open
GustavoARSilva opened this issue Jun 22, 2023 · 0 comments
Labels
-Wuninitialized Emits warning under -Wuninitialized

Comments

@GustavoARSilva
Copy link
Collaborator

GustavoARSilva commented Jun 22, 2023

Found after building next-20230620 ARC with axs103_defconfig:

drivers/base/regmap/regcache-maple.c:113:36: warning: 'lower_last' is used uninitialized [-Wuninitialized]
drivers/base/regmap/regcache-maple.c:113:23: warning: 'lower_index' is used uninitialized [-Wuninitialized]
drivers/base/regmap/regcache-maple.c:114:36: warning: 'upper_last' is used uninitialized [-Wuninitialized]
drivers/base/regmap/regcache-maple.c:114:23: warning: 'upper_index' is used uninitialized [-Wuninitialized]
@GustavoARSilva GustavoARSilva added the -Wuninitialized Emits warning under -Wuninitialized label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Wuninitialized Emits warning under -Wuninitialized
Projects
None yet
Development

No branches or pull requests

1 participant