aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/device_handler
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-07-04 02:47:27 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-27 10:31:49 -0400
commitcadbd4a5e36dde7e6c49b587b2c419103c0b7218 (patch)
treec44ec1b85a132ef5af452a6c26037c3efba4bcca /drivers/scsi/device_handler
parent2b142900784c6e38c8d39fa57d5f95ef08e735d8 (diff)
[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>
Diffstat (limited to 'drivers/scsi/device_handler')
-rw-r--r--drivers/scsi/device_handler/scsi_dh_alua.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/device_handler/scsi_dh_alua.c b/drivers/scsi/device_handler/scsi_dh_alua.c
index 6e464488bcab..fcdd73f25625 100644
--- a/drivers/scsi/device_handler/scsi_dh_alua.c
+++ b/drivers/scsi/device_handler/scsi_dh_alua.c
@@ -97,14 +97,14 @@ static struct request *get_alua_req(struct scsi_device *sdev,
97 97
98 if (!rq) { 98 if (!rq) {
99 sdev_printk(KERN_INFO, sdev, 99 sdev_printk(KERN_INFO, sdev,
100 "%s: blk_get_request failed\n", __FUNCTION__); 100 "%s: blk_get_request failed\n", __func__);
101 return NULL; 101 return NULL;
102 } 102 }
103 103
104 if (buflen && blk_rq_map_kern(q, rq, buffer, buflen, GFP_NOIO)) { 104 if (buflen && blk_rq_map_kern(q, rq, buffer, buflen, GFP_NOIO)) {
105 blk_put_request(rq); 105 blk_put_request(rq);
106 sdev_printk(KERN_INFO, sdev, 106 sdev_printk(KERN_INFO, sdev,
107 "%s: blk_rq_map_kern failed\n", __FUNCTION__); 107 "%s: blk_rq_map_kern failed\n", __func__);
108 return NULL; 108 return NULL;
109 } 109 }
110 110
@@ -553,7 +553,7 @@ static int alua_rtpg(struct scsi_device *sdev, struct alua_dh_data *h)
553 /* Resubmit with the correct length */ 553 /* Resubmit with the correct length */
554 if (realloc_buffer(h, len)) { 554 if (realloc_buffer(h, len)) {
555 sdev_printk(KERN_WARNING, sdev, 555 sdev_printk(KERN_WARNING, sdev,
556 "%s: kmalloc buffer failed\n",__FUNCTION__); 556 "%s: kmalloc buffer failed\n",__func__);
557 /* Temporary failure, bypass */ 557 /* Temporary failure, bypass */
558 return SCSI_DH_DEV_TEMP_BUSY; 558 return SCSI_DH_DEV_TEMP_BUSY;
559 } 559 }