From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: linux-next: build failure after merge of the final tree (regulator tree related) Date: Thu, 16 Aug 2012 06:39:46 +0000 Message-ID: <201208160639.47131.arnd@arndb.de> References: <20120816151605.b0a9932005b541956288ce96@canb.auug.org.au> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: Received: from moutng.kundenserver.de ([212.227.17.9]:49393 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751353Ab2HPGj6 (ORCPT ); Thu, 16 Aug 2012 02:39:58 -0400 In-Reply-To: <20120816151605.b0a9932005b541956288ce96@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: Mark Brown , Liam Girdwood , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org On Thursday 16 August 2012, Stephen Rothwell wrote: > From: Stephen Rothwell > 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 Acked-by: Arnd Bergmann 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