1. 01 5月, 2014 1 次提交
    • T
      Altera TSE: Fix DMA secriptor length initialization · 1b444881
      Tobias Klauser 提交于
      sgdma_descrip is a function name as well as the name of a struct. In
      sgdma_initialize(), we should initialize the descriptor length field
      with the actual length of a descriptor not with the size of the
      function. In order to prevent such things from happening in the future,
      rename the function to sgdma_setup_descrip().
      
      Found by sparse which yields the following warning:
      
      drivers/net/ethernet/altera/altera_sgdma.c:74:30: warning: expression using sizeof on a function
      Signed-off-by: NTobias Klauser <tklauser@distanz.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1b444881
  2. 29 4月, 2014 2 次提交
  3. 28 4月, 2014 15 次提交
  4. 27 4月, 2014 11 次提交
  5. 25 4月, 2014 11 次提交