Messages in this thread |  | | From | (Bob_Tracy) | Subject | Re: 2.5.34: IR __FUNCTION__ breakage | Date | Thu, 12 Sep 2002 16:09:40 -0500 (CDT) |
| |
Thunder from the hill wrote: > (good suggestion)
so the revised definition expands from two+ to three+ arguments and becomes
#define DERROR(dbg, fmt, args...) \ {if(DEBUG_##dbg) \ printk(KERN_INFO "irnet: %s(): " fmt, __FUNCTION__, args);}
in the style of the original code. There aren't all that many source files that depend on irnet.h, so this shouldn't be too painful.
TO DO: under linux/net/irda, there's a *lot* of cli(), restore_flags(), save_flags() cleanup work, which I'll happily leave to Jean and/or Dag :-).
-- ----------------------------------------------------------------------- Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org rct@frus.com ----------------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |