[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080218.192332.174070490.davem@davemloft.net>
Date: Mon, 18 Feb 2008 19:23:32 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: joe@...ches.com
Cc: kaber@...sh.net, bruno@...nktube.com, netdev@...r.kernel.org,
jgarzik@...ox.com, linux-wireless@...r.kernel.org,
linville@...driver.com
Subject: Re: [PATCH] net/8021q/vlan_dev.c - Use print_mac
From: Joe Perches <joe@...ches.com>
Date: Mon, 18 Feb 2008 17:03:32 -0800
> Does this need to be done for all function calls
> declared with __attribute__((format(printf, x, y)))
> {
> return 0;
> }
>
> ie: pr_debug, dev_dbg, dev_vdbg?
No, I don't think so.
We're adding the tag to teach the compiler that if the
return value isn't used, it is OK not to emit the call
altogether.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists