* pci: fix ats compile failure
@ 2011-11-29 19:20 James Bottomley
2011-12-03 13:36 ` Jesse Barnes
2011-12-05 18:31 ` Jesse Barnes
0 siblings, 2 replies; 3+ messages in thread
From: James Bottomley @ 2011-11-29 19:20 UTC (permalink / raw)
To: Joerg Roedel; +Cc: linux-pci, Jesse Barnes
SSBnZXQgdGhpcyBjb21waWxlIGZhaWx1cmUgb24gcGFyaXNjOg0KDQpkcml2ZXJzL3BjaS9hdHMu
YzogSW4gZnVuY3Rpb24gJ2F0c19hbGxvY19vbmUnOg0KZHJpdmVycy9wY2kvYXRzLmM6Mjk6IGVy
cm9yOiBpbXBsaWNpdCBkZWNsYXJhdGlvbiBvZiBmdW5jdGlvbiAna3phbGxvYycNCmRyaXZlcnMv
cGNpL2F0cy5jOjI5OiB3YXJuaW5nOiBhc3NpZ25tZW50IG1ha2VzIHBvaW50ZXIgZnJvbSBpbnRl
Z2VyIHdpdGhvdXQgYSBjYXN0DQpkcml2ZXJzL3BjaS9hdHMuYzogSW4gZnVuY3Rpb24gJ2F0c19m
cmVlX29uZSc6DQpkcml2ZXJzL3BjaS9hdHMuYzo0NTogZXJyb3I6IGltcGxpY2l0IGRlY2xhcmF0
aW9uIG9mIGZ1bmN0aW9uICdrZnJlZScNCg0KQmVjYXVzZSBhdHMuYyBpcyBtaXNzaW5nIGxpbnV4
L3NsYWIuaCBhcyBhbiBpbmNsdWRlLiAgVGhpcyBwYXRjaCBmaXhlcyBpdA0KDQpTaWduZWQtb2Zm
LWJ5OiBKYW1lcyBCb3R0b21sZXkgPEpCb3R0b21sZXlAUGFyYWxsZWxzLmNvbT4NCg0KLS0tDQoN
CmRpZmYgLS1naXQgYS9kcml2ZXJzL3BjaS9hdHMuYyBiL2RyaXZlcnMvcGNpL2F0cy5jDQppbmRl
eCA3ZWM1NmZiLi5iMGRkMDhlIDEwMDY0NA0KLS0tIGEvZHJpdmVycy9wY2kvYXRzLmMNCisrKyBi
L2RyaXZlcnMvcGNpL2F0cy5jDQpAQCAtMTMsNiArMTMsNyBAQA0KICNpbmNsdWRlIDxsaW51eC9l
eHBvcnQuaD4NCiAjaW5jbHVkZSA8bGludXgvcGNpLWF0cy5oPg0KICNpbmNsdWRlIDxsaW51eC9w
Y2kuaD4NCisjaW5jbHVkZSA8bGludXgvc2xhYi5oPg0KIA0KICNpbmNsdWRlICJwY2kuaCINCiAN
Cg0K
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pci: fix ats compile failure
2011-11-29 19:20 pci: fix ats compile failure James Bottomley
@ 2011-12-03 13:36 ` Jesse Barnes
2011-12-05 18:31 ` Jesse Barnes
1 sibling, 0 replies; 3+ messages in thread
From: Jesse Barnes @ 2011-12-03 13:36 UTC (permalink / raw)
To: James Bottomley; +Cc: Joerg Roedel, linux-pci
On Tue, 29 Nov 2011 19:20:23 +0000
James Bottomley <jbottomley@parallels.com> wrote:
> I get this compile failure on parisc:
>
> drivers/pci/ats.c: In function 'ats_alloc_one':
> drivers/pci/ats.c:29: error: implicit declaration of function
> 'kzalloc' drivers/pci/ats.c:29: warning: assignment makes pointer
> from integer without a cast drivers/pci/ats.c: In function
> 'ats_free_one': drivers/pci/ats.c:45: error: implicit declaration of
> function 'kfree'
>
> Because ats.c is missing linux/slab.h as an include. This patch
> fixes it
>
> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
>
> ---
>
> diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c
> index 7ec56fb..b0dd08e 100644
> --- a/drivers/pci/ats.c
> +++ b/drivers/pci/ats.c
> @@ -13,6 +13,7 @@
> #include <linux/export.h>
> #include <linux/pci-ats.h>
> #include <linux/pci.h>
> +#include <linux/slab.h>
>
> #include "pci.h"
Thanks James, I'll queue it up.
Jesse
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pci: fix ats compile failure
2011-11-29 19:20 pci: fix ats compile failure James Bottomley
2011-12-03 13:36 ` Jesse Barnes
@ 2011-12-05 18:31 ` Jesse Barnes
1 sibling, 0 replies; 3+ messages in thread
From: Jesse Barnes @ 2011-12-05 18:31 UTC (permalink / raw)
To: James Bottomley; +Cc: Joerg Roedel, linux-pci
[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]
On Tue, 29 Nov 2011 19:20:23 +0000
James Bottomley <jbottomley@parallels.com> wrote:
> I get this compile failure on parisc:
>
> drivers/pci/ats.c: In function 'ats_alloc_one':
> drivers/pci/ats.c:29: error: implicit declaration of function 'kzalloc'
> drivers/pci/ats.c:29: warning: assignment makes pointer from integer without a cast
> drivers/pci/ats.c: In function 'ats_free_one':
> drivers/pci/ats.c:45: error: implicit declaration of function 'kfree'
>
> Because ats.c is missing linux/slab.h as an include. This patch fixes it
>
> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
>
> ---
>
> diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c
> index 7ec56fb..b0dd08e 100644
> --- a/drivers/pci/ats.c
> +++ b/drivers/pci/ats.c
> @@ -13,6 +13,7 @@
> #include <linux/export.h>
> #include <linux/pci-ats.h>
> #include <linux/pci.h>
> +#include <linux/slab.h>
>
> #include "pci.h"
Applied to my for-linus branch, thanks.
--
Jesse Barnes, Intel Open Source Technology Center
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-05 18:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-29 19:20 pci: fix ats compile failure James Bottomley
2011-12-03 13:36 ` Jesse Barnes
2011-12-05 18:31 ` Jesse Barnes
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.