forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 14
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
-Wunused-variable in arch/arm/mach-omap1/board-h2.c #1325
Labels
-Wunused-variable
[ARCH] arm32
This bug impacts ARCH=arm
[BUG] linux
A bug that should be fixed in the mainline kernel.
[FIXED][LINUX] 5.13
This bug was fixed in Linux 5.13
Comments
fengguang
pushed a commit
to 0day-ci/linux
that referenced
this issue
Apr 1, 2021
The gpiod table was added without any usage making it unused as reported by Clang compilation from omap1_defconfig on linux-next: arch/arm/mach-omap1/board-h2.c:347:34: warning: unused variable 'isp1301_gpiod_table' [-Wunused-variable] static struct gpiod_lookup_table isp1301_gpiod_table = { ^ 1 warning generated. The patch adds the missing gpiod_add_lookup_table() function. Signed-off-by: Maciej Falkowski <maciej.falkowski9@gmail.com> Fixes: f3ef381 ("usb: isp1301-omap: Convert to use GPIO descriptors") Link: ClangBuiltLinux#1325
Patch accepted: https://lore.kernel.org/lkml/YKNh5ekJ1ffBZ+xd@atomide.com/ |
fengguang
pushed a commit
to 0day-ci/linux
that referenced
this issue
May 22, 2021
The gpiod table was added without any usage making it unused as reported by Clang compilation from omap1_defconfig on linux-next: arch/arm/mach-omap1/board-h2.c:347:34: warning: unused variable 'isp1301_gpiod_table' [-Wunused-variable] static struct gpiod_lookup_table isp1301_gpiod_table = { ^ 1 warning generated. The patch adds the missing gpiod_add_lookup_table() function. Signed-off-by: Maciej Falkowski <maciej.falkowski9@gmail.com> Fixes: f3ef381 ("usb: isp1301-omap: Convert to use GPIO descriptors") Link: ClangBuiltLinux#1325 Signed-off-by: Tony Lindgren <tony@atomide.com>
fixed: 7c30231 |
hamadmarri
pushed a commit
to hamadmarri/linux
that referenced
this issue
Jun 9, 2021
commit 7c30231 upstream. The gpiod table was added without any usage making it unused as reported by Clang compilation from omap1_defconfig on linux-next: arch/arm/mach-omap1/board-h2.c:347:34: warning: unused variable 'isp1301_gpiod_table' [-Wunused-variable] static struct gpiod_lookup_table isp1301_gpiod_table = { ^ 1 warning generated. The patch adds the missing gpiod_add_lookup_table() function. Signed-off-by: Maciej Falkowski <maciej.falkowski9@gmail.com> Fixes: f3ef381 ("usb: isp1301-omap: Convert to use GPIO descriptors") Link: ClangBuiltLinux#1325 Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
woodsts
pushed a commit
to woodsts/linux-stable
that referenced
this issue
Jun 10, 2021
commit 7c30231 upstream. The gpiod table was added without any usage making it unused as reported by Clang compilation from omap1_defconfig on linux-next: arch/arm/mach-omap1/board-h2.c:347:34: warning: unused variable 'isp1301_gpiod_table' [-Wunused-variable] static struct gpiod_lookup_table isp1301_gpiod_table = { ^ 1 warning generated. The patch adds the missing gpiod_add_lookup_table() function. Signed-off-by: Maciej Falkowski <maciej.falkowski9@gmail.com> Fixes: f3ef381 ("usb: isp1301-omap: Convert to use GPIO descriptors") Link: ClangBuiltLinux/linux#1325 Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
-Wunused-variable
[ARCH] arm32
This bug impacts ARCH=arm
[BUG] linux
A bug that should be fixed in the mainline kernel.
[FIXED][LINUX] 5.13
This bug was fixed in Linux 5.13
via omap1_defconfig on linux-next:
The text was updated successfully, but these errors were encountered: