1. 13 Apr, 2004 1 commit
    • Randy Dunlap's avatar
      [PATCH] remove concat. with __FUNCTION__ (drivers/net/) (V2) · fb320b95
      Randy Dunlap authored
      Hi,
      
      Previous patch had a small problem.  This patch replaces the
      previous version.  I can/will send a relative/differential diff
      if you want/need it.
      
      
      Problem:
      
      On Tue, 2004-04-06 at 14:45, Randy.Dunlap wrote:
      > From: Tony Breeds <tony@bakeyournoodle.com>
      >
      > "concatenation of string literals with __FUNCTION__ is deprecated"
      > -#define TRACE_ENTER(devname) DEBUG(2, "%s: -> " __FUNCTION__ "()\n", devname);
      > -#define TRACE_EXIT(devname)  DEBUG(2, "%s: <- " __FUNCTION__ "()\n", devname);
      > +#define TRACE_ENTER(devname) DEBUG(2, "%s: -> %s()\n", __FUNCTION__, devname);
      > +#define TRACE_EXIT(devname)  DEBUG(2, "%s: <- %s()\n", __FUNCTION__, devname);
      
      | Hi.  This isn't the same.  It should be:
      |
      | +#define TRACE_ENTER(devname) DEBUG(2, "%s: -> %s()\n", devname, __FUNCTION__);
      | +#define TRACE_EXIT(devname)  DEBUG(2, "%s: <- %s()\n", devname, __FUNCTION__ );
      
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      
       drivers/net/gt96100eth.c       |    2 +-
       drivers/net/irda/smsc-ircc2.c  |    6 +++---
       drivers/net/irda/via-ircc.c    |    2 +-
       drivers/net/wireless/orinoco.h |    4 ++--
       4 files changed, 7 insertions(+), 7 deletions(-)
      fb320b95
  2. 06 Apr, 2004 6 commits
  3. 03 Apr, 2004 9 commits
  4. 02 Apr, 2004 11 commits
  5. 01 Apr, 2004 13 commits