Re: linux-next: build failure after merge of the final tree (regulator tree related)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 16 August 2012, Stephen Rothwell wrote:
> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Date: Thu, 16 Aug 2012 15:11:22 +1000
> Subject: [PATCH] regulator: using kfree() requires including slab.h
> 
> Fixes this build error:
> 
> drivers/regulator/twl-regulator.c: In function 'twlreg_probe':
> drivers/regulator/twl-regulator.c:1229:3: error: implicit declaration of
> function 'kfree' [-Werror=implicit-function-declaration]
> 
> Also added string.h for kmemdup().
> 
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

Thanks Stephen and sorry for bothering everyone with this. I had
actually found the same problem and fixed it locally but forgot
to send out the fixed version.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux