Re: [BUG] implicit declaration of kfree/kzalloc in i2c-i801.c on Alpha

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pekka Enberg
Date: Tuesday, January 4, 2011 - 1:56 pm

On Tue, Jan 4, 2011 at 9:37 PM, Matt Turner <mattst88@gmail.com> wrote:

The x86 version of <asm/pci.h> includes <linux/slab.h> which hides the
problem on x86 at least. There was a big cleanup of implicit
<linux/slab.h> inclusions few months ago which has exposed the
problem.

It's a bug in the driver, just add the include there.

                        Pekka
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [BUG] implicit declaration of kfree/kzalloc in i2c-i80 ..., Pekka Enberg, (Tue Jan 4, 1:56 pm)