Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (3 months ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

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

    r25370 r31885  
    184184                        last_trx_part = curr_part - 1;
    185185
    186                         /*
    187                          * We have whole TRX scanned, skip to the next part. Use
    188                          * roundown (not roundup), as the loop will increase
    189                          * offset in next step.
    190                          */
    191                         offset = rounddown(offset + trx->length, blocksize);
     186                        /* Jump to the end of TRX */
     187                        offset = roundup(offset + trx->length, blocksize);
     188                        /* Next loop iteration will increase the offset */
     189                        offset -= blocksize;
    192190                        continue;
    193191                }
Note: See TracChangeset for help on using the changeset viewer.