1. 13 2月, 2012 6 次提交
  2. 25 1月, 2012 1 次提交
  3. 24 1月, 2012 2 次提交
  4. 09 1月, 2012 1 次提交
  5. 20 12月, 2011 2 次提交
  6. 02 12月, 2011 1 次提交
  7. 28 11月, 2011 1 次提交
  8. 01 11月, 2011 2 次提交
  9. 18 9月, 2011 1 次提交
  10. 23 8月, 2011 1 次提交
  11. 21 7月, 2011 1 次提交
    • P
      treewide: fix potentially dangerous trailing ';' in #defined values/expressions · 497888cf
      Phil Carmody 提交于
      All these are instances of
        #define NAME value;
      or
        #define NAME(params_opt) value;
      
      These of course fail to build when used in contexts like
        if(foo $OP NAME)
        while(bar $OP NAME)
      and may silently generate the wrong code in contexts such as
        foo = NAME + 1;    /* foo = value; + 1; */
        bar = NAME - 1;    /* bar = value; - 1; */
        baz = NAME & quux; /* baz = value; & quux; */
      
      Reported on comp.lang.c,
      Message-ID: <ab0d55fe-25e5-482b-811e-c475aa6065c3@c29g2000yqd.googlegroups.com>
      Initial analysis of the dangers provided by Keith Thompson in that thread.
      
      There are many more instances of more complicated macros having unnecessary
      trailing semicolons, but this pile seems to be all of the cases of simple
      values suffering from the problem. (Thus things that are likely to be found
      in one of the contexts above, more complicated ones aren't.)
      Signed-off-by: NPhil Carmody <ext-phil.2.carmody@nokia.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      497888cf
  12. 02 7月, 2011 1 次提交
    • M
      USB: OTG: Use work_queue in set_vbus for TWL6030 transciever · 5bf54506
      Moiz Sonasath 提交于
      With this commit: cccad6d4
      usb: otg: notifier: switch to atomic notifier
      
      Following dumps are observed on attach/detach for MUSB HOST
      mode and on a detach for MUSB Device mode.
      
      BUG: sleeping function called from invalid context at kernel/mutex.c:85
      where, the source is:
      twl6030_usb_irq
      ->atomic_notifier_call_chain
       ->musb_otg_notifications
        ->twl6030_set_vbus
         ->twl_i2c_write_u8
          ->mutex_lock
      
      This patch moves the i2c writes in set_vbus function to a
      work-queue thereby avoiding I2C writes in atomic context.
      
      Tested HOST and Device mode functionality on OMAP4460
      Signed-off-by: NMoiz Sonasath <m-sonasath@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      5bf54506
  13. 24 6月, 2011 1 次提交
  14. 20 6月, 2011 1 次提交
  15. 27 5月, 2011 1 次提交
  16. 18 5月, 2011 2 次提交
  17. 13 5月, 2011 1 次提交
  18. 07 5月, 2011 4 次提交
  19. 04 5月, 2011 2 次提交
  20. 03 5月, 2011 2 次提交
  21. 14 4月, 2011 2 次提交
  22. 31 3月, 2011 1 次提交
  23. 12 3月, 2011 1 次提交
  24. 10 3月, 2011 1 次提交
  25. 08 3月, 2011 1 次提交