Re: [PATCH 1/6] thunderbolt: Fix build error in eeprom.c

From: Andreas Noever
Date: Fri Jun 20 2014 - 10:29:21 EST


The series looks good. Thanks a lot for fixing these.

On Fri, Jun 20, 2014 at 11:02 AM, Sachin Kamat <sachin.kamat@xxxxxxxxxxx> wrote:
> Fixes the below error:
> drivers/thunderbolt/eeprom.c:407:2: error: implicit declaration of function âkzallocâ [-Werror=implicit-function-declaration]
> drivers/thunderbolt/eeprom.c:444:2: error: implicit declaration of function âkfreeâ [-Werror=implicit-function-declaration]
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxxx>
> ---
> drivers/thunderbolt/eeprom.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c
> index 0d5a80b2d07a..bc0449f581c2 100644
> --- a/drivers/thunderbolt/eeprom.c
> +++ b/drivers/thunderbolt/eeprom.c
> @@ -5,6 +5,7 @@
> */
>
> #include <linux/crc32.h>
> +#include <linux/slab.h>
> #include "tb.h"
>
> /**
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/