Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: allenbh/linux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: allenbh/linux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dma/t-bug-ioat-reshape
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Aug 25, 2015

  1. dmaengine: ioatdma: fix u16 overflow in reshape

    If the allocation order is 16, then the u16 index will overflow and wrap
    to zero instead of being equal or greater than 1 << 16.  The loop
    condition will always be true, and the loop will run until all the
    memory resources are depleted.
    
    Change the type of index 'i' to u32, so that it is large enough to store
    a value equal or greater than 1 << 16.
    
    Signed-off-by: Allen Hubbe <[email protected]>
    Allen Hubbe authored and Allen Hubbe committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    cdde152 View commit details
    Browse the repository at this point in the history
  2. dmaengine: ioatdma: fix u16 overflow in cleanup

    If the allocation order is 16, then the u16 count will overflow and wrap
    to zero when assigned the value 1 << 16.
    
    Change the type of 'total_descs' to int, so that it is large enough to
    store a value equal or greater than 1 << 16.
    
    Signed-off-by: Allen Hubbe <[email protected]>
    Allen Hubbe authored and Allen Hubbe committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    18a3f90 View commit details
    Browse the repository at this point in the history
Loading