Skip to contentSkip to conversation

Build fails with SLOB in next

DISCUSSION Tony Lindgren 2 participants 2 messages Mar 8, 2018

lore
Share & tools
lore
#0 lore raw

Hi,

Looks like commit 8b1747684ff8 ("dcache: account external names as indirectly reclaimable memory") caused build fail if SLOB is selected:

fs/dcache.c: In function '__d_free_external':
fs/dcache.c:278:22: error: implicit declaration of function 'kmalloc_index'; did you mean 'kmalloc_ node'? [-Werror=implicit-function-declaration]

        -kmalloc_size(kmalloc_index(bytes)));
	                      ^~~~~~~~~~~~~

Is this already fixed somewhere?

Regards,

Tony

#1 lore raw

Hi Tony!

As far as I know, it?s not fixed yet.
I?ll send a fix on Monday.
Sorry for the inconvenience.

Roman

Sent from my iPhone

Quoted 19 lines · Tony Lindgren

Hi,

Looks like commit 8b1747684ff8 ("dcache: account external names as indirectly reclaimable memory") caused build fail if SLOB is selected:

fs/dcache.c: In function '__d_free_external':
fs/dcache.c:278:22: error: implicit declaration of function 'kmalloc_index'; did you mean 'kmalloc_ node'? [-Werror=implicit-function-declaration]

       -kmalloc_size(kmalloc_index(bytes)));
                         ^~~~~~~~~~~~~

Is this already fixed somewhere?

Regards,

Tony