Re: drivers: md: include "linux/vmalloc.h" in "dm-cache-policy-hints.c"

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

 



On 10/30/2013 10:38 PM, Mike Snitzer wrote:
> On Wed, Oct 30 2013 at  2:17am -0400,
> Chen Gang <gang.chen@xxxxxxxxxxx> wrote:
> 
>> Need include related header file, or can not pass compiling, the
>> related error (for powerpc with allmodconfig):
>>
>>     CC [M]  drivers/md/dm-cache-policy-hints.o
>>   drivers/md/dm-cache-policy-hints.c: In function ‘alloc_hash’:
>>   drivers/md/dm-cache-policy-hints.c:94:2: error: implicit declaration of function ‘vzalloc’ [-Werror=implicit-function-declaration]
>>   drivers/md/dm-cache-policy-hints.c:94:14: warning: assignment makes pointer from integer without a cast [enabled by default]
>>   drivers/md/dm-cache-policy-hints.c: In function ‘free_hash’:
>>   drivers/md/dm-cache-policy-hints.c:101:2: error: implicit declaration of function ‘vfree’ [-Werror=implicit-function-declaration]
>>   drivers/md/dm-cache-policy-hints.c: In function ‘alloc_bitset’:
>>   drivers/md/dm-cache-policy-hints.c:184:2: warning: return makes pointer from integer without a cast [enabled by default]
>>
>>
>> Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
> 
> This was already fixed a couple days ago in the linux-dm.git 'for-next'
> branch.
> 
> But thanks.
> 
> 

Thank you too.
-- 
Chen Gang
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux