linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: eg20t: include slab.h for memory allocations
@ 2011-02-02 18:47 Wolfram Sang
       [not found] ` <1296672461-22822-1-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2011-02-02 18:47 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA; +Cc: Wolfram Sang, Tomoya MORINAGA

Fixes (with v2.6.38-rc3/parisc/parisc-allmodconfig):
  src/drivers/i2c/busses/i2c-eg20t.c:720: error: implicit declaration of function 'kzalloc'
  src/drivers/i2c/busses/i2c-eg20t.c:790: error: implicit declaration of function 'kfree'

Reported-by: Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
Signed-off-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: Tomoya MORINAGA <tomoya-linux-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>
---
 drivers/i2c/busses/i2c-eg20t.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c
index 2e067dd..50ea1f4 100644
--- a/drivers/i2c/busses/i2c-eg20t.c
+++ b/drivers/i2c/busses/i2c-eg20t.c
@@ -29,6 +29,7 @@
 #include <linux/pci.h>
 #include <linux/mutex.h>
 #include <linux/ktime.h>
+#include <linux/slab.h>
 
 #define PCH_EVENT_SET	0	/* I2C Interrupt Event Set Status */
 #define PCH_EVENT_NONE	1	/* I2C Interrupt Event Clear Status */
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: eg20t: include slab.h for memory allocations
       [not found] ` <1296672461-22822-1-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2011-02-02 22:24   ` Ben Dooks
       [not found]     ` <20110202222422.GX15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Ben Dooks @ 2011-02-02 22:24 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Tomoya MORINAGA

On Wed, Feb 02, 2011 at 07:47:41PM +0100, Wolfram Sang wrote:
> Fixes (with v2.6.38-rc3/parisc/parisc-allmodconfig):
>   src/drivers/i2c/busses/i2c-eg20t.c:720: error: implicit declaration of function 'kzalloc'
>   src/drivers/i2c/busses/i2c-eg20t.c:790: error: implicit declaration of function 'kfree'
> 
> Reported-by: Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
> Signed-off-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> Cc: Tomoya MORINAGA <tomoya-linux-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>

ok, will pick this one up.

> ---
>  drivers/i2c/busses/i2c-eg20t.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c
> index 2e067dd..50ea1f4 100644
> --- a/drivers/i2c/busses/i2c-eg20t.c
> +++ b/drivers/i2c/busses/i2c-eg20t.c
> @@ -29,6 +29,7 @@
>  #include <linux/pci.h>
>  #include <linux/mutex.h>
>  #include <linux/ktime.h>
> +#include <linux/slab.h>
>  
>  #define PCH_EVENT_SET	0	/* I2C Interrupt Event Set Status */
>  #define PCH_EVENT_NONE	1	/* I2C Interrupt Event Clear Status */
> -- 
> 1.7.2.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Ben Dooks, ben-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org, http://www.fluff.org/ben/

Large Hadron Colada: A large Pina Colada that makes the universe disappear.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: eg20t: include slab.h for memory allocations
       [not found]     ` <20110202222422.GX15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
@ 2011-02-16 12:29       ` Wolfram Sang
       [not found]         ` <20110216122929.GA6210-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2011-02-16 12:29 UTC (permalink / raw)
  To: Ben Dooks; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Tomoya MORINAGA

On Wed, Feb 02, 2011 at 10:24:22PM +0000, Ben Dooks wrote:
> On Wed, Feb 02, 2011 at 07:47:41PM +0100, Wolfram Sang wrote:
> > Fixes (with v2.6.38-rc3/parisc/parisc-allmodconfig):
> >   src/drivers/i2c/busses/i2c-eg20t.c:720: error: implicit declaration of function 'kzalloc'
> >   src/drivers/i2c/busses/i2c-eg20t.c:790: error: implicit declaration of function 'kfree'
> > 
> > Reported-by: Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
> > Signed-off-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > Cc: Tomoya MORINAGA <tomoya-linux-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>
> 
> ok, will pick this one up.

Please don't forget.

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: eg20t: include slab.h for memory allocations
       [not found]         ` <20110216122929.GA6210-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2011-02-20 23:49           ` Ben Dooks
       [not found]             ` <20110220234928.GO15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Ben Dooks @ 2011-02-20 23:49 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: Ben Dooks, linux-i2c-u79uwXL29TY76Z2rM5mHXA, Tomoya MORINAGA

On Wed, Feb 16, 2011 at 01:29:29PM +0100, Wolfram Sang wrote:
> On Wed, Feb 02, 2011 at 10:24:22PM +0000, Ben Dooks wrote:
> > On Wed, Feb 02, 2011 at 07:47:41PM +0100, Wolfram Sang wrote:
> > > Fixes (with v2.6.38-rc3/parisc/parisc-allmodconfig):
> > >   src/drivers/i2c/busses/i2c-eg20t.c:720: error: implicit declaration of function 'kzalloc'
> > >   src/drivers/i2c/busses/i2c-eg20t.c:790: error: implicit declaration of function 'kfree'
> > > 
> > > Reported-by: Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
> > > Signed-off-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > > Cc: Tomoya MORINAGA <tomoya-linux-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>
> > 
> > ok, will pick this one up.
> 
> Please don't forget.

I'll try and issue a new git tree tomorrow, had problems with old laptop
and 'fun' moving to the new one.

-- 
Ben Dooks, ben-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org, http://www.fluff.org/ben/

Large Hadron Colada: A large Pina Colada that makes the universe disappear.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: eg20t: include slab.h for memory allocations
       [not found]             ` <20110220234928.GO15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
@ 2011-02-23 10:08               ` Wolfram Sang
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2011-02-23 10:08 UTC (permalink / raw)
  To: Ben Dooks; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Tomoya MORINAGA

[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]

On Sun, Feb 20, 2011 at 11:49:28PM +0000, Ben Dooks wrote:
> On Wed, Feb 16, 2011 at 01:29:29PM +0100, Wolfram Sang wrote:
> > On Wed, Feb 02, 2011 at 10:24:22PM +0000, Ben Dooks wrote:
> > > On Wed, Feb 02, 2011 at 07:47:41PM +0100, Wolfram Sang wrote:
> > > > Fixes (with v2.6.38-rc3/parisc/parisc-allmodconfig):
> > > >   src/drivers/i2c/busses/i2c-eg20t.c:720: error: implicit declaration of function 'kzalloc'
> > > >   src/drivers/i2c/busses/i2c-eg20t.c:790: error: implicit declaration of function 'kfree'
> > > > 
> > > > Reported-by: Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
> > > > Signed-off-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > > > Cc: Tomoya MORINAGA <tomoya-linux-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>
> > > 
> > > ok, will pick this one up.
> > 
> > Please don't forget.
> 
> I'll try and issue a new git tree tomorrow, had problems with old laptop
> and 'fun' moving to the new one.

Okay, resending seems to work better ;)

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-23 10:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 18:47 [PATCH] i2c: eg20t: include slab.h for memory allocations Wolfram Sang
     [not found] ` <1296672461-22822-1-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2011-02-02 22:24   ` Ben Dooks
     [not found]     ` <20110202222422.GX15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2011-02-16 12:29       ` Wolfram Sang
     [not found]         ` <20110216122929.GA6210-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2011-02-20 23:49           ` Ben Dooks
     [not found]             ` <20110220234928.GO15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2011-02-23 10:08               ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).