1. 09 11月, 2014 9 次提交
  2. 04 11月, 2014 2 次提交
  3. 01 11月, 2014 2 次提交
  4. 31 10月, 2014 1 次提交
  5. 30 10月, 2014 7 次提交
  6. 29 10月, 2014 5 次提交
  7. 28 10月, 2014 4 次提交
  8. 21 10月, 2014 1 次提交
    • P
      pinctrl: st: Fix Sparse error · 2e537276
      Pramod Gurav 提交于
      This change fixes below sparse error,
      drivers/pinctrl/pinctrl-st.c:1515:31: error: incompatible types for operation (>)
      drivers/pinctrl/pinctrl-st.c:1515:31:    left side has type void [noderef] <asn:2>*irqmux_base
      drivers/pinctrl/pinctrl-st.c:1515:31:    right side has type int
      
      Cc: Maxime Coquelin <maxime.coquelin@st.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      CC: Linus Walleij <linus.walleij@linaro.org>
      Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: NPramod Gurav <pramod.gurav@smartplayin.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      2e537276
  9. 20 10月, 2014 7 次提交
  10. 18 10月, 2014 2 次提交
    • E
      bna: fix skb->truesize underestimation · f2d9da1a
      Eric Dumazet 提交于
      skb->truesize is not meant to be tracking amount of used bytes
      in an skb, but amount of reserved/consumed bytes in memory.
      
      For instance, if we use a single byte in last page fragment,
      we have to account the full size of the fragment.
      
      skb->truesize can be very different from skb->len, that has
      a very specific safety purpose.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Cc: Rasesh Mody <rasesh.mody@qlogic.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f2d9da1a
    • G
      dsa: Fix conversion from host device to mii bus · b184e497
      Guenter Roeck 提交于
      Commit b4d2394d ("dsa: Replace mii_bus with a generic host device")
      replaces mii_bus with a generic host_dev, and introduces
      dsa_host_dev_to_mii_bus() to support conversion from host_dev to mii_bus.
      However, in some cases it uses to_mii_bus to perform that conversion.
      Since host_dev is not the phy bus device but typically a platform device,
      this fails and results in a crash with the affected drivers.
      
      BUG: unable to handle kernel NULL pointer dereference at           (null)
      IP: [<ffffffff81781d35>] __mutex_lock_slowpath+0x75/0x100
      PGD 406783067 PUD 406784067 PMD 0
      Oops: 0002 [#1] SMP
      ...
      Call Trace:
      [<ffffffff810a538b>] ? pick_next_task_fair+0x61b/0x880
      [<ffffffff81781de3>] mutex_lock+0x23/0x37
      [<ffffffff81533244>] mdiobus_read+0x34/0x60
      [<ffffffff8153b95a>] __mv88e6xxx_reg_read+0x8a/0xa0
      [<ffffffff8153b9bc>] mv88e6xxx_reg_read+0x4c/0xa0
      
      Fixes: b4d2394d ("dsa: Replace mii_bus with a generic host device")
      Cc: Alexander Duyck <alexander.h.duyck@intel.com>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Acked-by: NAlexander Duyck <alexander.h.duyck@redhat.com>
      Acked-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b184e497