Skip to contentSkip to conversation

no-MMU build failure

DISCUSSION Mark Salter 2 participants 2 messages Feb 28, 2013 Linux-next tree

lore
Share & tools
lore
#0 lore raw

I'm seeing a build failure in linux-next for c6x (no-MMU):

/linux-next/mm/shmem.c: In function 'shmem_file_setup':
/linux-next/mm/shmem.c:2936:2: error: 'error' undeclared (first use in this function)

Looks like it is due to this commit:

commit 6b4d0b2793337cc8943cd2948388218e2777400c
Author: Al Viro <[email protected]>
Date: Thu Feb 14 21:37:26 2013 -0500

clean shmem_file_setup() a bit

--Mark

#1 lore raw
Quoted 4 lines · Mark Salter

I'm seeing a build failure in linux-next for c6x (no-MMU):

/linux-next/mm/shmem.c: In function 'shmem_file_setup':
/linux-next/mm/shmem.c:2936:2: error: 'error' undeclared (first use in this function)

Yechh... My fault; I think the cleanest fix here is

	res = ERR_PTR(ramfs_nommu_expand_for_mapping(inode, size));
	if (res)
		goto put_dentry;

Will be fixed in the next signal.git pull...