Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0f3fa4b0
Commit
0f3fa4b0
authored
Apr 12, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Apr 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove concatenation with __FUNCTION__ arch/*
From: Tony Breeds <tony@bakeyournoodle.com>
parent
c1179fa6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
24 deletions
+24
-24
arch/arm/mach-sa1100/h3600.c
arch/arm/mach-sa1100/h3600.c
+7
-7
arch/mips/au1000/common/usbdev.c
arch/mips/au1000/common/usbdev.c
+16
-16
arch/mips/mm-64/tlb-dbg-r4k.c
arch/mips/mm-64/tlb-dbg-r4k.c
+1
-1
No files found.
arch/arm/mach-sa1100/h3600.c
View file @
0f3fa4b0
...
...
@@ -481,7 +481,7 @@ static void h3800_control_egpio(enum ipaq_egpio_type x, int setp)
case
IPAQ_EGPIO_CODEC_NRESET
:
case
IPAQ_EGPIO_AUDIO_ON
:
case
IPAQ_EGPIO_QMUTE
:
printk
(
__FUNCTION__
": error - should not be called
\n
"
);
printk
(
"%s: error - should not be called
\n
"
,
__FUNCTION__
);
break
;
case
IPAQ_EGPIO_OPT_NVRAM_ON
:
SET_ASIC2
(
GPIO2_OPT_ON_NVRAM
);
...
...
@@ -523,7 +523,7 @@ static int h3800_pm_callback(int req)
static
u16
asic2_data
;
int
result
=
0
;
printk
(
__FUNCTION__
" %d
\n
"
,
req
);
printk
(
"%s %d
\n
"
,
__FUNCTION__
,
req
);
switch
(
req
)
{
case
PM_RESUME
:
...
...
@@ -551,7 +551,7 @@ static int h3800_pm_callback(int req)
asic2_data
=
H3800_ASIC2_GPIOPIOD
;
break
;
default:
printk
(
__FUNCTION__
": unrecognized PM callback
\n
"
);
printk
(
"%s: unrecognized PM callback
\n
"
,
__FUNCTION__
);
break
;
}
return
result
;
...
...
@@ -591,7 +591,7 @@ static void h3800_IRQ_demux(unsigned int irq, struct irqdesc *desc, struct pt_re
{
int
i
;
if
(
0
)
printk
(
__FUNCTION__
": interrupt received
\n
"
);
if
(
0
)
printk
(
"%s: interrupt received
\n
"
,
__FUNCTION__
);
desc
->
chip
->
ack
(
irq
);
...
...
@@ -601,21 +601,21 @@ static void h3800_IRQ_demux(unsigned int irq, struct irqdesc *desc, struct pt_re
/* KPIO */
irq
=
H3800_ASIC2_KPIINTFLAG
;
if
(
0
)
printk
(
__FUNCTION__
" KPIO 0x%08X
\n
"
,
irq
);
if
(
0
)
printk
(
"%s KPIO 0x%08X
\n
"
,
__FUNCTION__
,
irq
);
for
(
j
=
0
;
j
<
H3800_KPIO_IRQ_COUNT
;
j
++
)
if
(
irq
&
kpio_irq_mask
[
j
])
do_edge_IRQ
(
H3800_KPIO_IRQ_COUNT
+
j
,
irq_desc
+
H3800_KPIO_IRQ_COUNT
+
j
,
regs
);
/* GPIO2 */
irq
=
H3800_ASIC2_GPIINTFLAG
;
if
(
0
)
printk
(
__FUNCTION__
" GPIO 0x%08X
\n
"
,
irq
);
if
(
0
)
printk
(
"%s GPIO 0x%08X
\n
"
,
__FUNCTION__
,
irq
);
for
(
j
=
0
;
j
<
H3800_GPIO_IRQ_COUNT
;
j
++
)
if
(
irq
&
gpio_irq_mask
[
j
])
do_edge_IRQ
(
H3800_GPIO_IRQ_COUNT
+
j
,
irq_desc
+
H3800_GPIO_IRQ_COUNT
+
j
,
regs
);
}
if
(
i
>=
MAX_ASIC_ISR_LOOPS
)
printk
(
__FUNCTION__
": interrupt processing overrun
\n
"
);
printk
(
"%s: interrupt processing overrun
\n
"
,
__FUNCTION__
);
/* For level-based interrupts */
desc
->
chip
->
unmask
(
irq
);
...
...
arch/mips/au1000/common/usbdev.c
View file @
0f3fa4b0
...
...
@@ -199,12 +199,12 @@ get_std_req_name(int req)
static void
dump_setup(struct usb_ctrlrequest* s)
{
dbg(
__FUNCTION__ ": requesttype=%d"
, s->requesttype);
dbg(
__FUNCTION__ ": request=%d %s"
, s->request,
dbg(
"%s: requesttype=%d", __FUNCTION__
, s->requesttype);
dbg(
"%s: request=%d %s", __FUNCTION__
, s->request,
get_std_req_name(s->request));
dbg(
__FUNCTION__ ": value=0x%04x"
, s->wValue);
dbg(
__FUNCTION__ ": index=%d"
, s->index);
dbg(
__FUNCTION__ ": length=%d"
, s->length);
dbg(
"%s: value=0x%04x", __FUNCTION__
, s->wValue);
dbg(
"%s: index=%d", __FUNCTION__
, s->index);
dbg(
"%s: length=%d", __FUNCTION__
, s->length);
}
#endif
...
...
@@ -436,10 +436,10 @@ kickstart_send_packet(endpoint_t * ep)
u32
cs
;
usbdev_pkt_t
*
pkt
=
ep
->
inlist
.
head
;
vdbg
(
__FUNCTION__
": ep%d, pkt=%p"
,
ep
->
address
,
pkt
);
vdbg
(
"%s: ep%d, pkt=%p"
,
__FUNCTION__
,
ep
->
address
,
pkt
);
if
(
!
pkt
)
{
err
(
__FUNCTION__
": head=NULL! list->count=%d"
,
err
(
"%s: head=NULL! list->count=%d"
,
__FUNCTION__
,
ep
->
inlist
.
count
);
return
;
}
...
...
@@ -484,7 +484,7 @@ send_packet_complete(endpoint_t * ep)
(
au_readl
(
ep
->
reg
->
ctrl_stat
)
&
USBDEV_CS_NAK
)
?
PKT_STATUS_NAK
:
PKT_STATUS_ACK
;
vdbg
(
__FUNCTION__
": ep%d, %s pkt=%p, list count=%d"
,
vdbg
(
"%s: ep%d, %s pkt=%p, list count=%d"
,
__FUNCTION__
,
ep
->
address
,
(
pkt
->
status
&
PKT_STATUS_NAK
)
?
"NAK"
:
"ACK"
,
pkt
,
ep
->
inlist
.
count
);
}
...
...
@@ -529,7 +529,7 @@ send_packet(struct usb_dev* dev, usbdev_pkt_t *pkt, int async)
link_tail
(
ep
,
list
,
pkt
);
vdbg
(
__FUNCTION__
": ep%d, pkt=%p, size=%d, list count=%d"
,
vdbg
(
"%s: ep%d, pkt=%p, size=%d, list count=%d"
,
__FUNCTION__
,
ep
->
address
,
pkt
,
pkt
->
size
,
list
->
count
);
if
(
list
->
count
==
1
)
{
...
...
@@ -555,7 +555,7 @@ kickstart_receive_packet(endpoint_t * ep)
// get and link a new packet for next reception
if
(
!
(
pkt
=
add_packet
(
ep
,
&
ep
->
outlist
,
ep
->
max_pkt_size
)))
{
err
(
__FUNCTION__
": could not alloc new packet"
);
err
(
"%s: could not alloc new packet"
,
__FUNCTION__
);
return
;
}
...
...
@@ -615,7 +615,7 @@ receive_packet_complete(endpoint_t * ep)
if
(
ep
->
address
==
0
&&
(
cs
&
USBDEV_CS_SU
))
pkt
->
status
|=
PKT_STATUS_SU
;
vdbg
(
__FUNCTION__
": ep%d, %s pkt=%p, size=%d"
,
vdbg
(
"%s: ep%d, %s pkt=%p, size=%d"
,
__FUNCTION__
,
ep
->
address
,
(
pkt
->
status
&
PKT_STATUS_NAK
)
?
"NAK"
:
"ACK"
,
pkt
,
pkt
->
size
);
...
...
@@ -719,7 +719,7 @@ do_set_address(struct usb_dev* dev, struct usb_ctrlrequest* setup)
int
new_state
=
dev
->
state
;
int
new_addr
=
le16_to_cpu
(
setup
->
wValue
);
dbg
(
__FUNCTION__
": our address=%d"
,
new_addr
);
dbg
(
"%s: our address=%d"
,
__FUNCTION__
,
new_addr
);
if
(
new_addr
>
127
)
{
// usb spec doesn't tell us what to do, so just go to
...
...
@@ -918,18 +918,18 @@ do_setup (struct usb_dev* dev, struct usb_ctrlrequest* setup)
{
req_method_t
m
;
dbg
(
__FUNCTION__
": req %d %s"
,
setup
->
bRequestType
,
dbg
(
"%s: req %d %s"
,
__FUNCTION__
,
setup
->
bRequestType
,
get_std_req_name
(
setup
->
bRequestType
));
if
((
setup
->
bRequestType
&
USB_TYPE_MASK
)
!=
USB_TYPE_STANDARD
||
(
setup
->
bRequestType
&
USB_RECIP_MASK
)
!=
USB_RECIP_DEVICE
)
{
err
(
__FUNCTION__
": invalid requesttype 0x%02x"
,
err
(
"%s: invalid requesttype 0x%02x"
,
__FUNCTION__
,
setup
->
bRequestType
);
return
;
}
if
((
setup
->
bRequestType
&
0x80
)
==
USB_DIR_OUT
&&
setup
->
wLength
)
dbg
(
__FUNCTION__
": OUT phase! length=%d"
,
setup
->
wLength
);
dbg
(
"%s: OUT phase! length=%d"
,
__FUNCTION__
,
setup
->
wLength
);
if
(
setup
->
bRequestType
<
sizeof
(
req_method
)
/
sizeof
(
req_method_t
))
m
=
req_method
[
setup
->
bRequestType
];
...
...
@@ -980,7 +980,7 @@ process_ep0_receive (struct usb_dev* dev)
#endif
do_setup
(
dev
,
(
struct
usb_ctrlrequest
*
)
pkt
->
payload
);
}
else
err
(
__FUNCTION__
": wrong size SETUP received"
);
err
(
"%s: wrong size SETUP received"
,
__FUNCTION__
);
break
;
case
DATA_STAGE
:
/*
...
...
arch/mips/mm-64/tlb-dbg-r4k.c
View file @
0f3fa4b0
...
...
@@ -24,7 +24,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write,
asmlinkage
void
tlb_refill_debug
(
struct
pt_regs
regs
)
{
show_regs
(
&
regs
);
panic
(
__FUNCTION__
" called. This Does Not Happen (TM)."
);
panic
(
"%s called. This Does Not Happen (TM)."
,
__FUNCTION__
);
}
asmlinkage
void
xtlb_refill_debug
(
struct
pt_regs
*
regs
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment