[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
parent
2b14290078
commit
cadbd4a5e3
@@ -1395,7 +1395,7 @@ static void scsi_kill_request(struct request *req, struct request_queue *q)
|
||||
|
||||
if (unlikely(cmd == NULL)) {
|
||||
printk(KERN_CRIT "impossible request in %s.\n",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
BUG();
|
||||
}
|
||||
|
||||
@@ -1519,7 +1519,7 @@ static void scsi_request_fn(struct request_queue *q)
|
||||
printk(KERN_CRIT "impossible request in %s.\n"
|
||||
"please mail a stack trace to "
|
||||
"linux-scsi@vger.kernel.org\n",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
blk_dump_rq_flags(req, "foo");
|
||||
BUG();
|
||||
}
|
||||
@@ -2529,7 +2529,7 @@ void *scsi_kmap_atomic_sg(struct scatterlist *sgl, int sg_count,
|
||||
if (unlikely(i == sg_count)) {
|
||||
printk(KERN_ERR "%s: Bytes in sg: %zu, requested offset %zu, "
|
||||
"elements %d\n",
|
||||
__FUNCTION__, sg_len, *offset, sg_count);
|
||||
__func__, sg_len, *offset, sg_count);
|
||||
WARN_ON(1);
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user