Ignore:
Timestamp:
Apr 18, 2017, 8:47:31 AM (7 days ago)
Author:
brainslayer
Message:

update kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.4/drivers/mtd/bcm47xxpart.c

    r28606 r31884  
    226226                        last_trx_part = curr_part - 1;
    227227
    228                         /*
    229                          * We have whole TRX scanned, skip to the next part. Use
    230                          * roundown (not roundup), as the loop will increase
    231                          * offset in next step.
    232                          */
    233                         offset = rounddown(offset + trx->length, blocksize);
     228                        /* Jump to the end of TRX */
     229                        offset = roundup(offset + trx->length, blocksize);
     230                        /* Next loop iteration will increase the offset */
     231                        offset -= blocksize;
    234232                        continue;
    235233                }
Note: See TracChangeset for help on using the changeset viewer.