summaryrefslogtreecommitdiff
path: root/drivers/misc/isl29003.c
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2013-06-21 12:56:53 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-06-21 15:58:44 -0400
commit2d9105433ff471d2c688817e98804029c074a623 (patch)
tree7794f24be80ffaad203616bf71162bc6b54c133f /drivers/misc/isl29003.c
parent8e3f8755545cc4a7f4da8e9ef76d6d32e0dca576 (diff)
xen-blkback: workaround compiler bug in gcc 4.1
The code generat with gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54) creates an unbound loop for the second foreach_grant_safe loop in purge_persistent_gnt. The workaround is to avoid having this second loop and instead perform all the work inside the first loop by adding a new variable, clean_used, that will be set when all the desired persistent grants have been removed and we need to iterate over the remaining ones to remove the WAS_ACTIVE flag. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reported-by: Tom O'Neill <toneill@vmem.com> Reported-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/misc/isl29003.c')
0 files changed, 0 insertions, 0 deletions