USB: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
14722ef4ac
commit
441b62c1ed
@@ -1104,7 +1104,7 @@ static void ep0_complete(struct usb_ep *ep, struct usb_request *req)
|
||||
if (req->actual > 0)
|
||||
dump_msg(fsg, fsg->ep0req_name, req->buf, req->actual);
|
||||
if (req->status || req->actual != req->length)
|
||||
DBG(fsg, "%s --> %d, %u/%u\n", __FUNCTION__,
|
||||
DBG(fsg, "%s --> %d, %u/%u\n", __func__,
|
||||
req->status, req->actual, req->length);
|
||||
if (req->status == -ECONNRESET) // Request was cancelled
|
||||
usb_ep_fifo_flush(ep);
|
||||
@@ -1125,7 +1125,7 @@ static void bulk_in_complete(struct usb_ep *ep, struct usb_request *req)
|
||||
struct fsg_buffhd *bh = req->context;
|
||||
|
||||
if (req->status || req->actual != req->length)
|
||||
DBG(fsg, "%s --> %d, %u/%u\n", __FUNCTION__,
|
||||
DBG(fsg, "%s --> %d, %u/%u\n", __func__,
|
||||
req->status, req->actual, req->length);
|
||||
if (req->status == -ECONNRESET) // Request was cancelled
|
||||
usb_ep_fifo_flush(ep);
|
||||
@@ -1146,7 +1146,7 @@ static void bulk_out_complete(struct usb_ep *ep, struct usb_request *req)
|
||||
|
||||
dump_msg(fsg, "bulk-out", req->buf, req->actual);
|
||||
if (req->status || req->actual != bh->bulk_out_intended_length)
|
||||
DBG(fsg, "%s --> %d, %u/%u\n", __FUNCTION__,
|
||||
DBG(fsg, "%s --> %d, %u/%u\n", __func__,
|
||||
req->status, req->actual,
|
||||
bh->bulk_out_intended_length);
|
||||
if (req->status == -ECONNRESET) // Request was cancelled
|
||||
@@ -1169,7 +1169,7 @@ static void intr_in_complete(struct usb_ep *ep, struct usb_request *req)
|
||||
struct fsg_buffhd *bh = req->context;
|
||||
|
||||
if (req->status || req->actual != req->length)
|
||||
DBG(fsg, "%s --> %d, %u/%u\n", __FUNCTION__,
|
||||
DBG(fsg, "%s --> %d, %u/%u\n", __func__,
|
||||
req->status, req->actual, req->length);
|
||||
if (req->status == -ECONNRESET) // Request was cancelled
|
||||
usb_ep_fifo_flush(ep);
|
||||
|
Reference in New Issue
Block a user