1. 06 Sep, 2011 1 commit
  2. 03 Aug, 2011 1 commit
  3. 31 Jul, 2011 13 commits
  4. 25 Jul, 2011 1 commit
  5. 21 Jul, 2011 1 commit
    • Phil Carmody's avatar
      treewide: fix potentially dangerous trailing ';' in #defined values/expressions · 497888cf
      Phil Carmody authored
      
      
      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: default avatarPhil Carmody <ext-phil.2.carmody@nokia.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      497888cf
  6. 20 Jul, 2011 1 commit
    • Simon Horman's avatar
      mmc: sdhi: Add write16_hook · 973ed3af
      Simon Horman authored
      
      
      Some controllers require waiting for the bus to become idle
      before writing to some registers. I have implemented this
      by adding a hook to sd_ctrl_write16() and implementing
      a hook for SDHI which waits for the bus to become idle.
      
      Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
      Signed-off-by: default avatarChris Ball <cjb@laptop.org>
      973ed3af
  7. 08 Jul, 2011 3 commits
  8. 07 Jul, 2011 2 commits
  9. 04 Jul, 2011 2 commits
  10. 27 May, 2011 10 commits
  11. 26 May, 2011 5 commits