wireless: replace __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
d9c6350431
commit
c94c93da90
@@ -463,7 +463,7 @@ int hermes_read_ltv(hermes_t *hw, int bap, u16 rid, unsigned bufsize,
|
||||
if (rtype != rid)
|
||||
printk(KERN_WARNING "hermes @ %p: %s(): "
|
||||
"rid (0x%04x) does not match type (0x%04x)\n",
|
||||
hw->iobase, __FUNCTION__, rid, rtype);
|
||||
hw->iobase, __func__, rid, rtype);
|
||||
if (HERMES_RECLEN_TO_BYTES(rlength) > bufsize)
|
||||
printk(KERN_WARNING "hermes @ %p: "
|
||||
"Truncating LTV record from %d to %d bytes. "
|
||||
|
Reference in New Issue
Block a user