bcma: add missing includes
Rafał Miłecki
maintainerPATCH 1/1 bcma: add missing includes
--- drivers/bcma/driver_pci_host.c | 1 + drivers/bcma/driver_pcie2.c | 1 + 2 files changed, 2 insertions(+)
drivers/bcma/driver_pci_host.c +1 -0
@@ -11,6 +11,7 @@#include "bcma_private.h" #include <linux/pci.h> +#include <linux/slab.h> #include <linux/export.h> #include <linux/bcma/bcma.h> #include <asm/paccess.h>
drivers/bcma/driver_pcie2.c +1 -0
@@ -10,6 +10,7 @@#include "bcma_private.h" #include <linux/bcma/bcma.h> +#include <linux/pci.h> /************************************************** * R/W ops.
Signature · 1 line
1.8.4.5
Quoted 1 line · Rafał Miłecki
Signed-off-by Rafał Miłecki <[email protected]>
Please, no empty commit logs. I don't (yet) require that with all patches, but this definitely needs one. Is this ok:
bcma: add missing includes
kbuild found out that commit 804e27dee49e ("bcma: support bringing up bus hosted on PCIe Gen 2") broke the build on m68k:
drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up':
Quoted 1 line
Quoted 1 line
drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of function 'pcie_set_readrq' [-Werror\
=implicit-function-declaration]
err = pcie_set_readrq(dev, pcie2->reqsize);
^cc1: some warnings being treated as errors
Signature · 1 line
Kalle Valo
Rafał Miłecki
maintainerQuoted 13 lines · Kalle Valo
Quoted 1 line · Rafał Miłecki
Signed-off-by Rafał Miłecki <[email protected]>Please, no empty commit logs. I don't (yet) require that with all patches, but this definitely needs one. Is this ok:
bcma: add missing includes
kbuild found out that commit
804e27dee49e("bcma: support bringing up bus hosted on PCIe Gen 2") broke the build on m68k:
drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up':
Quoted 8 lines
Quoted 1 line
Quoted 1 line
drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of function 'pcie_set_readrq' [-Werror\=implicit-function-declaration]
err = pcie_set_readrq(dev, pcie2->reqsize); ^cc1: some warnings being treated as errors
Reported-by kbuild test robot <[email protected]>Signed-off-by Rafał Miłecki <[email protected]>
You're right, I could to better :| Yes, your version looks OK.
Signature · 1 line
Rafał
Quoted 20 lines · Rafał Miłecki
Quoted 19 lines · Kalle Valo
Quoted 1 line · Rafał Miłecki
Signed-off-by Rafał Miłecki <[email protected]>Please, no empty commit logs. I don't (yet) require that with all patches, but this definitely needs one. Is this ok:
bcma: add missing includes
kbuild found out that commit
804e27dee49e("bcma: support bringing up bus hosted on PCIe Gen 2") broke the build on m68k:
drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up':Quoted 1 line
Quoted 1 line
drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of function 'pcie_set_readrq' [-Werror\=implicit-function-declaration]
err = pcie_set_readrq(dev, pcie2->reqsize); ^cc1: some warnings being treated as errors
Quoted 4 lines
Quoted 2 lines
Reported-by kbuild test robot <[email protected]>Signed-off-by Rafał Miłecki <[email protected]>You're right, I could to better :| Yes, your version looks OK.
Thanks, I applied with my modifications.
Signature · 1 line
Kalle Valo