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
a562b03a
Commit
a562b03a
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__ drivers/*
From: Tony Breeds <tony@bakeyournoodle.com>
parent
0f3fa4b0
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
36 additions
and
35 deletions
+36
-35
drivers/char/ftape/lowlevel/ftape-tracing.h
drivers/char/ftape/lowlevel/ftape-tracing.h
+2
-2
drivers/char/serial_tx3912.h
drivers/char/serial_tx3912.h
+2
-2
drivers/char/watchdog/machzwd.c
drivers/char/watchdog/machzwd.c
+1
-1
drivers/isdn/i4l/isdn_net.h
drivers/isdn/i4l/isdn_net.h
+6
-6
drivers/media/video/w9966.c
drivers/media/video/w9966.c
+1
-1
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_cmdset_0001.c
+1
-1
drivers/pci/hotplug/pcihp_skeleton.c
drivers/pci/hotplug/pcihp_skeleton.c
+5
-5
drivers/pcmcia/sa1100_pfs168.c
drivers/pcmcia/sa1100_pfs168.c
+1
-1
drivers/pcmcia/sa1100_shannon.c
drivers/pcmcia/sa1100_shannon.c
+5
-5
drivers/pcmcia/sa1100_stork.c
drivers/pcmcia/sa1100_stork.c
+2
-2
drivers/pcmcia/sa1100_yopy.c
drivers/pcmcia/sa1100_yopy.c
+3
-3
drivers/scsi/pcmcia/nsp_debug.c
drivers/scsi/pcmcia/nsp_debug.c
+1
-1
drivers/tc/lk201.c
drivers/tc/lk201.c
+1
-1
drivers/tc/zs.c
drivers/tc/zs.c
+4
-3
drivers/usb/serial/kobil_sct.c
drivers/usb/serial/kobil_sct.c
+1
-1
No files found.
drivers/char/ftape/lowlevel/ftape-tracing.h
View file @
a562b03a
...
...
@@ -70,8 +70,8 @@ typedef enum {
#define TRACE(l, m, i...) \
{ \
if ((ft_trace_t)(l) == FT_TRACE_TOP_LEVEL) { \
printk(KERN_INFO"ftape
"__FILE__"("__FUNCTION__"):\n"
\
KERN_INFO m".\n" ,
##i);
\
printk(KERN_INFO"ftape
%s(%s):\n"
\
KERN_INFO m".\n" ,
__FILE__, __FUNCTION__ , ##i);
\
} \
}
#define SET_TRACE_LEVEL(l) if ((l) == (l)) do {} while(0)
...
...
drivers/char/serial_tx3912.h
View file @
a562b03a
...
...
@@ -59,9 +59,9 @@ int rs_debug = TX3912_UART_DEBUG_ALL & ~TX3912_UART_DEBUG_TRANSMIT;
#define rs_dprintk(f, str...) if (rs_debug & f) printk (str)
#define func_enter() rs_dprintk (TX3912_UART_DEBUG_FLOW, \
"rs: enter
" __FUNCTION__ "\n"
)
"rs: enter
%s\n", __FUNCTION__
)
#define func_exit() rs_dprintk (TX3912_UART_DEBUG_FLOW, \
"rs: exit
" __FUNCTION__ "\n"
)
"rs: exit
%s\n", __FUNCTION__
)
#else
#define rs_dprintk(f, str...)
...
...
drivers/char/watchdog/machzwd.c
View file @
a562b03a
...
...
@@ -151,7 +151,7 @@ static unsigned long next_heartbeat = 0;
#ifndef ZF_DEBUG
# define dprintk(format, args...)
#else
# define dprintk(format, args...) printk(KERN_DEBUG PFX
; ":" __FUNCTION__ ":%d: " format
, __LINE__ , ## args)
# define dprintk(format, args...) printk(KERN_DEBUG PFX
":%s:%d: " format, __FUNCTION__
, __LINE__ , ## args)
#endif
...
...
drivers/isdn/i4l/isdn_net.h
View file @
a562b03a
...
...
@@ -106,8 +106,8 @@ static __inline__ void isdn_net_add_to_bundle(isdn_net_dev *nd, isdn_net_local *
spin_lock_irqsave
(
&
nd
->
queue_lock
,
flags
);
lp
=
nd
->
queue
;
// printk(KERN_DEBUG
__FUNCTION__"
: lp:%s(%p) nlp:%s(%p) last(%p)\n",
//
lp->name, lp, nlp->name, nlp, lp->last);
// printk(KERN_DEBUG
"%s
: lp:%s(%p) nlp:%s(%p) last(%p)\n",
//
__FUNCTION__, lp->name, lp, nlp->name, nlp, lp->last);
nlp
->
last
=
lp
->
last
;
lp
->
last
->
next
=
nlp
;
lp
->
last
=
nlp
;
...
...
@@ -127,8 +127,8 @@ static __inline__ void isdn_net_rm_from_bundle(isdn_net_local *lp)
if
(
lp
->
master
)
master_lp
=
(
isdn_net_local
*
)
lp
->
master
->
priv
;
// printk(KERN_DEBUG
__FUNCTION__"
: lp:%s(%p) mlp:%s(%p) last(%p) next(%p) mndq(%p)\n",
//
lp->name, lp, master_lp->name, master_lp, lp->last, lp->next, master_lp->netdev->queue);
// printk(KERN_DEBUG
"%s
: lp:%s(%p) mlp:%s(%p) last(%p) next(%p) mndq(%p)\n",
//
__FUNCTION__, lp->name, lp, master_lp->name, master_lp, lp->last, lp->next, master_lp->netdev->queue);
spin_lock_irqsave
(
&
master_lp
->
netdev
->
queue_lock
,
flags
);
lp
->
last
->
next
=
lp
->
next
;
lp
->
next
->
last
=
lp
->
last
;
...
...
@@ -139,8 +139,8 @@ static __inline__ void isdn_net_rm_from_bundle(isdn_net_local *lp)
}
}
lp
->
next
=
lp
->
last
=
lp
;
/* (re)set own pointers */
// printk(KERN_DEBUG
__FUNCTION__"
: mndq(%p)\n",
//
master_lp->netdev->queue);
// printk(KERN_DEBUG
"%s
: mndq(%p)\n",
//
__FUNCTION__, master_lp->netdev->queue);
spin_unlock_irqrestore
(
&
master_lp
->
netdev
->
queue_lock
,
flags
);
}
...
...
drivers/media/video/w9966.c
View file @
a562b03a
...
...
@@ -63,7 +63,7 @@
//#define DEBUG // Undef me for production
#ifdef DEBUG
#define DPRINTF(x, a...) printk(KERN_DEBUG "W9966:
"__FUNCTION__ "(): "x
, ##a)
#define DPRINTF(x, a...) printk(KERN_DEBUG "W9966:
%s(): "x, __FUNCTION__
, ##a)
#else
#define DPRINTF(x...)
#endif
...
...
drivers/mtd/chips/cfi_cmdset_0001.c
View file @
a562b03a
...
...
@@ -1575,7 +1575,7 @@ static int cfi_intelext_lock(struct mtd_info *mtd, loff_t ofs, size_t len)
ofs
,
len
,
DO_XXLOCK_ONEBLOCK_LOCK
);
#ifdef DEBUG_LOCK_BITS
printk
(
KERN_DEBUG
__FUNCTION__
printk
(
KERN_DEBUG
"%s: lock status after, ret=%d
\n
"
,
__FUNCTION__
,
ret
);
cfi_intelext_varsize_frob
(
mtd
,
do_printlockstatus_oneblock
,
ofs
,
len
,
0
);
...
...
drivers/pci/hotplug/pcihp_skeleton.c
View file @
a562b03a
...
...
@@ -224,7 +224,7 @@ static int get_power_status (struct hotplug_slot *hotplug_slot, u8 *value)
if
(
slot
==
NULL
)
return
-
ENODEV
;
dbg
(
__FUNCTION__
" - physical_slot = %s
\n
"
,
hotplug_slot
->
name
);
dbg
(
"%s - physical_slot = %s
\n
"
,
__FUNCTION__
,
hotplug_slot
->
name
);
/*
* Fill in logic to get the current power status of the specific
...
...
@@ -242,7 +242,7 @@ static int get_attention_status (struct hotplug_slot *hotplug_slot, u8 *value)
if
(
slot
==
NULL
)
return
-
ENODEV
;
dbg
(
__FUNCTION__
" - physical_slot = %s
\n
"
,
hotplug_slot
->
name
);
dbg
(
"%s - physical_slot = %s
\n
"
,
__FUNCTION__
,
hotplug_slot
->
name
);
/*
* Fill in logic to get the current attention status of the specific
...
...
@@ -260,7 +260,7 @@ static int get_latch_status (struct hotplug_slot *hotplug_slot, u8 *value)
if
(
slot
==
NULL
)
return
-
ENODEV
;
dbg
(
__FUNCTION__
" - physical_slot = %s
\n
"
,
hotplug_slot
->
name
);
dbg
(
"%s - physical_slot = %s
\n
"
,
__FUNCTION__
,
hotplug_slot
->
name
);
/*
* Fill in logic to get the current latch status of the specific
...
...
@@ -278,7 +278,7 @@ static int get_adapter_status (struct hotplug_slot *hotplug_slot, u8 *value)
if
(
slot
==
NULL
)
return
-
ENODEV
;
dbg
(
__FUNCTION__
" - physical_slot = %s
\n
"
,
hotplug_slot
->
name
);
dbg
(
"%s - physical_slot = %s
\n
"
,
__FUNCTION__
,
hotplug_slot
->
name
);
/*
* Fill in logic to get the current adapter status of the specific
...
...
@@ -296,7 +296,7 @@ static void release_slots(struct hotplug_slot *hotplug_slot)
if
(
slot
==
NULL
)
return
-
ENODEV
;
dbg
(
__FUNCTION__
" - physical_slot = %s
\n
"
,
hotplug_slot
->
name
);
dbg
(
"%s - physical_slot = %s
\n
"
,
__FUNCTION__
,
hotplug_slot
->
name
);
kfree
(
slot
->
hotplug_slot
->
info
);
kfree
(
slot
->
hotplug_slot
->
name
);
kfree
(
slot
->
hotplug_slot
);
...
...
drivers/pcmcia/sa1100_pfs168.c
View file @
a562b03a
...
...
@@ -101,7 +101,7 @@ pfs168_pcmcia_configure_socket(struct sa1100_pcmcia_socket *skt,
}
if
(
state
->
Vpp
!=
state
->
Vcc
&&
state
->
Vpp
!=
0
)
{
printk
(
KERN_ERR
"%s(): CompactFlash socket does not support VPP %uV
\n
"
printk
(
KERN_ERR
"%s(): CompactFlash socket does not support VPP %uV
\n
"
,
__FUNCTION__
,
state
->
Vpp
/
10
);
return
-
1
;
}
...
...
drivers/pcmcia/sa1100_shannon.c
View file @
a562b03a
...
...
@@ -74,19 +74,19 @@ shannon_pcmcia_configure_socket(struct sa1100_pcmcia_socket *skt,
{
switch
(
state
->
Vcc
)
{
case
0
:
/* power off */
printk
(
KERN_WARNING
__FUNCTION__
"(): CS asked for 0V, still applying 3.3V..
\n
"
);
printk
(
KERN_WARNING
"%s(): CS asked for 0V, still applying 3.3V..
\n
"
,
__FUNCTION__
);
break
;
case
50
:
printk
(
KERN_WARNING
__FUNCTION__
"(): CS asked for 5V, applying 3.3V..
\n
"
);
printk
(
KERN_WARNING
"%s(): CS asked for 5V, applying 3.3V..
\n
"
,
__FUNCTION__
);
case
33
:
break
;
default:
printk
(
KERN_ERR
__FUNCTION__
"
(): unrecognized Vcc %u
\n
"
,
state
->
Vcc
);
printk
(
KERN_ERR
"%s
(): unrecognized Vcc %u
\n
"
,
__FUNCTION__
,
state
->
Vcc
);
return
-
1
;
}
printk
(
KERN_WARNING
__FUNCTION__
"(): Warning, Can't perform reset
\n
"
);
printk
(
KERN_WARNING
"%s(): Warning, Can't perform reset
\n
"
,
__FUNCTION__
);
/* Silently ignore Vpp, output enable, speaker enable. */
...
...
drivers/pcmcia/sa1100_stork.c
View file @
a562b03a
...
...
@@ -50,7 +50,7 @@ static void stork_pcmcia_hw_shutdown(struct sa1100_pcmcia_socket *skt)
{
int
i
;
printk
(
__FUNCTION__
"
\n
"
);
printk
(
"%s
\n
"
,
__FUNCTION__
);
/* disable IRQs */
sa11xx_free_irqs
(
skt
,
irqs
,
ARRAY_SIZE
(
irqs
));
...
...
@@ -68,7 +68,7 @@ stork_pcmcia_socket_state(struct sa1100_pcmcia_socket *skt,
unsigned
long
levels
=
GPLR
;
if
(
debug
>
1
)
printk
(
__FUNCTION__
" GPLR=%x IRQ[1:0]=%x
\n
"
,
levels
,
printk
(
"%s GPLR=%x IRQ[1:0]=%x
\n
"
,
__FUNCTION__
,
levels
,
(
levels
&
(
GPIO_STORK_PCMCIA_A_RDY
|
GPIO_STORK_PCMCIA_B_RDY
)));
switch
(
skt
->
nr
)
{
...
...
drivers/pcmcia/sa1100_yopy.c
View file @
a562b03a
...
...
@@ -76,13 +76,13 @@ yopy_pcmcia_configure_socket(struct sa1100_pcmcia_socket *skt,
pcmcia_power
(
0
);
break
;
case
50
:
printk
(
KERN_WARNING
__FUNCTION__
"(): CS asked for 5V, applying 3.3V..
\n
"
);
printk
(
KERN_WARNING
"%s(): CS asked for 5V, applying 3.3V..
\n
"
,
__FUNCTION__
);
case
33
:
pcmcia_power
(
1
);
break
;
default:
printk
(
KERN_ERR
__FUNCTION__
"
(): unrecognized Vcc %u
\n
"
,
state
->
Vcc
);
printk
(
KERN_ERR
"%s
(): unrecognized Vcc %u
\n
"
,
__FUNCTION__
,
state
->
Vcc
);
return
-
1
;
}
...
...
drivers/scsi/pcmcia/nsp_debug.c
View file @
a562b03a
...
...
@@ -90,7 +90,7 @@ static void print_commandk (unsigned char *command)
int
i
,
s
;
printk
(
KERN_DEBUG
);
print_opcodek
(
command
[
0
]);
/*printk(KERN_DEBUG
__FUNCTION__ " "
);*/
/*printk(KERN_DEBUG
"%s ", __FUNCTION__
);*/
if
((
command
[
0
]
>>
5
)
==
6
||
(
command
[
0
]
>>
5
)
==
7
)
{
s
=
12
;
/* vender specific */
...
...
drivers/tc/lk201.c
View file @
a562b03a
...
...
@@ -74,7 +74,7 @@ static int __init lk201_reset(struct dec_serial *info)
for
(
i
=
0
;
i
<
sizeof
(
lk201_reset_string
);
i
++
)
if
(
info
->
hook
->
poll_tx_char
(
info
,
lk201_reset_string
[
i
]))
{
printk
(
__FUNCTION__
" transmit timeout
\n
"
);
printk
(
"%s transmit timeout
\n
"
,
__FUNCTION__
);
return
-
EIO
;
}
return
0
;
...
...
drivers/tc/zs.c
View file @
a562b03a
...
...
@@ -1988,7 +1988,8 @@ unsigned int register_zs_hook(unsigned int channel, struct zs_hook *hook)
struct
dec_serial
*
info
=
&
zs_soft
[
channel
];
if
(
info
->
hook
)
{
printk
(
__FUNCTION__
": line %d has already a hook registered
\n
"
,
channel
);
printk
(
"%s: line %d has already a hook registered
\n
"
,
__FUNCTION__
,
channel
);
return
0
;
}
else
{
...
...
@@ -2015,8 +2016,8 @@ unsigned int unregister_zs_hook(unsigned int channel)
info
->
hook
=
NULL
;
return
1
;
}
else
{
printk
(
__FUNCTION__
"
: trying to unregister hook on line %d,"
" but none is registered
\n
"
,
channel
);
printk
(
"%s
: trying to unregister hook on line %d,"
" but none is registered
\n
"
,
__FUNCTION__
,
channel
);
return
0
;
}
}
...
...
drivers/usb/serial/kobil_sct.c
View file @
a562b03a
...
...
@@ -503,7 +503,7 @@ static int kobil_write (struct usb_serial_port *port, int from_user,
static
int
kobil_write_room
(
struct
usb_serial_port
*
port
)
{
//dbg(
__FUNCTION__ " - port %d"
, port->number);
//dbg(
"%s - port %d", __FUNCTION__
, port->number);
return
8
;
}
...
...
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