drivers/net: replace __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:

committed by
Jeff Garzik

parent
b514f6b6da
commit
b39d66a81f
@@ -407,7 +407,7 @@ static int load_cyc2x(struct cycx_hw *hw, struct cycx_firmware *cfm, u32 len)
|
||||
if (cfm->version != CFM_VERSION) {
|
||||
printk(KERN_ERR "%s:%s: firmware format %u rejected! "
|
||||
"Expecting %u.\n",
|
||||
modname, __FUNCTION__, cfm->version, CFM_VERSION);
|
||||
modname, __func__, cfm->version, CFM_VERSION);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
@@ -420,7 +420,7 @@ static int load_cyc2x(struct cycx_hw *hw, struct cycx_firmware *cfm, u32 len)
|
||||
*/
|
||||
if (cksum != cfm->checksum) {
|
||||
printk(KERN_ERR "%s:%s: firmware corrupted!\n",
|
||||
modname, __FUNCTION__);
|
||||
modname, __func__);
|
||||
printk(KERN_ERR " cdsize = 0x%x (expected 0x%lx)\n",
|
||||
len - (int)sizeof(struct cycx_firmware) - 1,
|
||||
cfm->info.codesize);
|
||||
@@ -432,7 +432,7 @@ static int load_cyc2x(struct cycx_hw *hw, struct cycx_firmware *cfm, u32 len)
|
||||
/* If everything is ok, set reset, data and code pointers */
|
||||
img_hdr = (struct cycx_fw_header *)&cfm->image;
|
||||
#ifdef FIRMWARE_DEBUG
|
||||
printk(KERN_INFO "%s:%s: image sizes\n", __FUNCTION__, modname);
|
||||
printk(KERN_INFO "%s:%s: image sizes\n", __func__, modname);
|
||||
printk(KERN_INFO " reset=%lu\n", img_hdr->reset_size);
|
||||
printk(KERN_INFO " data=%lu\n", img_hdr->data_size);
|
||||
printk(KERN_INFO " code=%lu\n", img_hdr->code_size);
|
||||
|
Reference in New Issue
Block a user