* [PATCH next] bcma: add missing includes
@ 2015-03-03 6:32 Rafał Miłecki
2015-03-03 12:14 ` Kalle Valo
0 siblings, 1 reply; 4+ messages in thread
From: Rafał Miłecki @ 2015-03-03 6:32 UTC (permalink / raw)
To: Kalle Valo, linux-wireless; +Cc: Rafał Miłecki
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
---
drivers/bcma/driver_pci_host.c | 1 +
drivers/bcma/driver_pcie2.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/bcma/driver_pci_host.c b/drivers/bcma/driver_pci_host.c
index c8a6b74..c42cec7 100644
--- a/drivers/bcma/driver_pci_host.c
+++ b/drivers/bcma/driver_pci_host.c
@@ -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>
diff --git a/drivers/bcma/driver_pcie2.c b/drivers/bcma/driver_pcie2.c
index 4568bc7..b1a6e32 100644
--- a/drivers/bcma/driver_pcie2.c
+++ b/drivers/bcma/driver_pcie2.c
@@ -10,6 +10,7 @@
#include "bcma_private.h"
#include <linux/bcma/bcma.h>
+#include <linux/pci.h>
/**************************************************
* R/W ops.
--
1.8.4.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH next] bcma: add missing includes
2015-03-03 6:32 [PATCH next] bcma: add missing includes Rafał Miłecki
@ 2015-03-03 12:14 ` Kalle Valo
2015-03-03 13:18 ` Rafał Miłecki
0 siblings, 1 reply; 4+ messages in thread
From: Kalle Valo @ 2015-03-03 12:14 UTC (permalink / raw)
To: Rafał Miłecki; +Cc: linux-wireless
Rafał Miłecki <zajec5@gmail.com> writes:
> Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
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':
>> 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 <fengguang.wu@intel.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
--
Kalle Valo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH next] bcma: add missing includes
2015-03-03 12:14 ` Kalle Valo
@ 2015-03-03 13:18 ` Rafał Miłecki
2015-03-03 13:28 ` Kalle Valo
0 siblings, 1 reply; 4+ messages in thread
From: Rafał Miłecki @ 2015-03-03 13:18 UTC (permalink / raw)
To: Kalle Valo; +Cc: linux-wireless@vger.kernel.org
On 3 March 2015 at 13:14, Kalle Valo <kvalo@codeaurora.org> wrote:
> Rafał Miłecki <zajec5@gmail.com> writes:
>
>> Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
>
> 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':
>>> 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 <fengguang.wu@intel.com>
> Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
You're right, I could to better :| Yes, your version looks OK.
--
Rafał
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH next] bcma: add missing includes
2015-03-03 13:18 ` Rafał Miłecki
@ 2015-03-03 13:28 ` Kalle Valo
0 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2015-03-03 13:28 UTC (permalink / raw)
To: Rafał Miłecki; +Cc: linux-wireless@vger.kernel.org
Rafał Miłecki <zajec5@gmail.com> writes:
> On 3 March 2015 at 13:14, Kalle Valo <kvalo@codeaurora.org> wrote:
>> Rafał Miłecki <zajec5@gmail.com> writes:
>>
>>> Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
>>
>> 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':
>>>> 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 <fengguang.wu@intel.com>
>> Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
>
> You're right, I could to better :| Yes, your version looks OK.
Thanks, I applied with my modifications.
--
Kalle Valo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-03-03 13:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 6:32 [PATCH next] bcma: add missing includes Rafał Miłecki
2015-03-03 12:14 ` Kalle Valo
2015-03-03 13:18 ` Rafał Miłecki
2015-03-03 13:28 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.