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
f140cc6c
Commit
f140cc6c
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Coding style police.
Various patches to make things conform to Documentation/CodingStyle
parent
af8cdaa6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
8 deletions
+11
-8
drivers/char/cyclades.c
drivers/char/cyclades.c
+2
-2
drivers/char/rio/riocmd.c
drivers/char/rio/riocmd.c
+2
-2
drivers/macintosh/via-pmu.c
drivers/macintosh/via-pmu.c
+1
-1
drivers/media/video/zr36067.c
drivers/media/video/zr36067.c
+1
-1
net/atm/proc.c
net/atm/proc.c
+5
-2
No files found.
drivers/char/cyclades.c
View file @
f140cc6c
...
...
@@ -3434,8 +3434,8 @@ set_line_char(struct cyclades_port * info)
}
#ifdef CY_DEBUG_DTR
printk
(
"cyc:set_line_char dropping DTR
\n
"
);
printk
(
" status: 0x%x,
0x%x
\n
"
,
cy_readb
(
base_addr
+
(
CyMSVR1
<<
index
)),
printk
(
" status: 0x%x,
0x%x
\n
"
,
cy_readb
(
base_addr
+
(
CyMSVR1
<<
index
)),
cy_readb
(
base_addr
+
(
CyMSVR2
<<
index
)));
#endif
}
else
{
...
...
drivers/char/rio/riocmd.c
View file @
f140cc6c
...
...
@@ -462,8 +462,8 @@ PKT *PacketP;
rio_dprintk
(
RIO_DEBUG_CMD
,
"PACKET information: Length 0x%x (%d)
\n
"
,
PacketP
->
len
,
PacketP
->
len
);
rio_dprintk
(
RIO_DEBUG_CMD
,
"PACKET information: Control 0x%x (%d)
\n
"
,
PacketP
->
control
,
PacketP
->
control
);
rio_dprintk
(
RIO_DEBUG_CMD
,
"PACKET information: Check 0x%x (%d)
\n
"
,
PacketP
->
csum
,
PacketP
->
csum
);
rio_dprintk
(
RIO_DEBUG_CMD
,
"COMMAND information: Host Port Number 0x%x,
Command Code 0x%x
\n
"
,
PktCmdP
->
PhbNum
,
PktCmdP
->
Command
);
rio_dprintk
(
RIO_DEBUG_CMD
,
"COMMAND information: Host Port Number 0x%x,
"
"
Command Code 0x%x
\n
"
,
PktCmdP
->
PhbNum
,
PktCmdP
->
Command
);
return
TRUE
;
}
...
...
drivers/macintosh/via-pmu.c
View file @
f140cc6c
...
...
@@ -2605,7 +2605,7 @@ static int pmu_release(struct inode *inode, struct file *file)
disable_kernel_backlight
--
;
spin_unlock_irqrestore
(
&
pmu_lock
,
flags
);
}
#endif
defined(CONFIG_INPUT_ADBHID) && defined(CONFIG_PMAC_BACKLIGHT)
#endif
/* defined(CONFIG_INPUT_ADBHID) && defined(CONFIG_PMAC_BACKLIGHT) */
kfree
(
pp
);
}
unlock_kernel
();
...
...
drivers/media/video/zr36067.c
View file @
f140cc6c
...
...
@@ -1416,7 +1416,7 @@ static int zr36060_reset(struct zoran *zr)
zr36060_sleep
(
zr
,
0
);
post_office_write
(
zr
,
3
,
0
,
0
);
udelay
(
2
);
default:
default:
;
}
return
0
;
}
...
...
net/atm/proc.c
View file @
f140cc6c
...
...
@@ -549,9 +549,12 @@ int atm_proc_dev_register(struct atm_dev *dev)
digits
=
0
;
for
(
num
=
dev
->
number
;
num
;
num
/=
10
)
digits
++
;
if
(
!
digits
)
digits
++
;
dev
->
proc_name
=
kmalloc
(
strlen
(
dev
->
type
)
+
digits
+
2
,
GFP_KERNEL
);
if
(
!
dev
->
proc_name
)
goto
fail1
;
dev
->
proc_name
=
kmalloc
(
strlen
(
dev
->
type
)
+
digits
+
2
,
GFP_KERNEL
);
if
(
!
dev
->
proc_name
)
goto
fail1
;
sprintf
(
dev
->
proc_name
,
"%s:%d"
,
dev
->
type
,
dev
->
number
);
dev
->
proc_entry
=
create_proc_entry
(
dev
->
proc_name
,
0
,
atm_proc_root
);
if
(
!
dev
->
proc_entry
)
goto
fail0
;
...
...
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