[SCSI] replace __FUNCTION__ with __func__
[jejb: fixed up a ton of missed conversions. All of you are on notice this has happened, driver trees will now need to be rebased] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: SCSI List <linux-scsi@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:

committed by
James Bottomley

父節點
2b14290078
當前提交
cadbd4a5e3
@@ -272,7 +272,7 @@ static void scsi_strcpy_devinfo(char *name, char *to, size_t to_length,
|
||||
}
|
||||
if (from_length > to_length)
|
||||
printk(KERN_WARNING "%s: %s string '%s' is too long\n",
|
||||
__FUNCTION__, name, from);
|
||||
__func__, name, from);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -298,7 +298,7 @@ static int scsi_dev_info_list_add(int compatible, char *vendor, char *model,
|
||||
|
||||
devinfo = kmalloc(sizeof(*devinfo), GFP_KERNEL);
|
||||
if (!devinfo) {
|
||||
printk(KERN_ERR "%s: no memory\n", __FUNCTION__);
|
||||
printk(KERN_ERR "%s: no memory\n", __func__);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
@@ -363,7 +363,7 @@ static int scsi_dev_info_list_add_str(char *dev_list)
|
||||
strflags = strsep(&next, next_check);
|
||||
if (!model || !strflags) {
|
||||
printk(KERN_ERR "%s: bad dev info string '%s' '%s'"
|
||||
" '%s'\n", __FUNCTION__, vendor, model,
|
||||
" '%s'\n", __func__, vendor, model,
|
||||
strflags);
|
||||
res = -EINVAL;
|
||||
} else
|
||||
|
Reference in New Issue
Block a user