Skip to contentSkip to conversation

Failure to grow RBS

IA64 Dan Carpenter 1 participant 1 message Nov 6, 2013

lore
Share & tools
lore
#0 lore raw

Hello Andrew Burgess,

This is a semi-automatic email about new static checker warnings.

The patch e8c59c0cf9c9: "[IA64] Failure to grow RBS" from Aug 16, 2007, leads to the following Smatch complaint:

arch/ia64/mm/fault.c:138 ia64_do_page_fault()
error: we previously assumed 'vma' could be null (see line 138)

arch/ia64/mm/fault.c
137 */
138 if (( !vma && prev_vma ) || (address < vma->vm_start) )

                      ^^^^                             ^^^^^^^^^^^^^

If !vma and !prev_vma then Oops.

139 goto check_expansion;
140

regards,
dan carpenter