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

update kernels

File:
1 edited

Legend:

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

    r31574 r31884  
    230230                        last_trx_part = curr_part - 1;
    231231
    232                         /*
    233                          * We have whole TRX scanned, skip to the next part. Use
    234                          * roundown (not roundup), as the loop will increase
    235                          * offset in next step.
    236                          */
    237                         offset = rounddown(offset + trx->length, blocksize);
     232                        /* Jump to the end of TRX */
     233                        offset = roundup(offset + trx->length, blocksize);
     234                        /* Next loop iteration will increase the offset */
     235                        offset -= blocksize;
    238236                        continue;
    239237                }
Note: See TracChangeset for help on using the changeset viewer.