lkml.org 
[lkml]   [2010]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectFRV: possibly bad unsigned comparison in show_backtrace()
In arch/frv/kernel/traps.c, show_backtrace(), if sp is 0
then the dump does not succeed because stop was set to 0
and unaltered when we reach the unsigned comparison:

while (tos < stop) {...}

The naming stop may on the other hand suggest that this
is desired, is it?

Roel


\
 
 \ /
  Last update: 2010-02-08 17:03    [W:2.046 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site