Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC Bus
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC Bus
Commits
047896a3
Commit
047896a3
authored
May 30, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: use KERN_CONT for continuation printk calls
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
b45b0171
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
fmc-dump.c
kernel/fmc-dump.c
+1
-1
fmc-sdb.c
kernel/fmc-sdb.c
+11
-10
No files found.
kernel/fmc-dump.c
View file @
047896a3
...
...
@@ -29,7 +29,7 @@ static const uint8_t *dump_line(int addr, const uint8_t *line,
if
(
!
prev
||
memcmp
(
line
,
prev
,
LINELEN
))
{
pr_info
(
"%04x: "
,
addr
);
for
(
i
=
0
;
i
<
LINELEN
;
)
{
printk
(
"%02x"
,
line
[
i
]);
printk
(
KERN_CONT
"%02x"
,
line
[
i
]);
i
++
;
printk
(
i
&
3
?
" "
:
i
&
(
LINELEN
-
1
)
?
" "
:
"
\n
"
);
}
...
...
kernel/fmc-sdb.c
View file @
047896a3
...
...
@@ -169,16 +169,16 @@ static void __fmc_show_sdb_tree(const struct fmc_device *fmc,
dev_info
(
&
fmc
->
dev
,
"SDB: "
);
for
(
j
=
0
;
j
<
level
;
j
++
)
printk
(
" "
);
printk
(
KERN_CONT
" "
);
switch
(
r
->
empty
.
record_type
)
{
case
sdb_type_interconnect
:
printk
(
"%08llx:%08x %.19s
\n
"
,
printk
(
KERN_CONT
"%08llx:%08x %.19s
\n
"
,
__be64_to_cpu
(
p
->
vendor_id
),
__be32_to_cpu
(
p
->
device_id
),
p
->
name
);
break
;
case
sdb_type_device
:
printk
(
"%08llx:%08x %.19s (%08llx-%08llx)
\n
"
,
printk
(
KERN_CONT
"%08llx:%08x %.19s (%08llx-%08llx)
\n
"
,
__be64_to_cpu
(
p
->
vendor_id
),
__be32_to_cpu
(
p
->
device_id
),
p
->
name
,
...
...
@@ -186,32 +186,33 @@ static void __fmc_show_sdb_tree(const struct fmc_device *fmc,
__be64_to_cpu
(
c
->
addr_last
)
+
base
);
break
;
case
sdb_type_bridge
:
printk
(
"%08llx:%08x %.19s (bridge: %08llx)
\n
"
,
printk
(
KERN_CONT
"%08llx:%08x %.19s (bridge: %08llx)
\n
"
,
__be64_to_cpu
(
p
->
vendor_id
),
__be32_to_cpu
(
p
->
device_id
),
p
->
name
,
__be64_to_cpu
(
c
->
addr_first
)
+
base
);
if
(
IS_ERR
(
arr
->
subtree
[
i
]))
{
printk
(
"(bridge error %li)
\n
"
,
printk
(
KERN_CONT
"(bridge error %li)
\n
"
,
PTR_ERR
(
arr
->
subtree
[
i
]));
break
;
}
__fmc_show_sdb_tree
(
fmc
,
arr
->
subtree
[
i
]);
break
;
case
sdb_type_integration
:
printk
(
"integration
\n
"
);
printk
(
KERN_CONT
"integration
\n
"
);
break
;
case
sdb_type_repo_url
:
printk
(
"repo-url
\n
"
);
printk
(
KERN_CONT
"repo-url
\n
"
);
break
;
case
sdb_type_synthesis
:
printk
(
"synthesis-info
\n
"
);
printk
(
KERN_CONT
"synthesis-info
\n
"
);
break
;
case
sdb_type_empty
:
printk
(
"empty
\n
"
);
printk
(
KERN_CONT
"empty
\n
"
);
break
;
default:
printk
(
"UNKNOWN TYPE 0x%02x
\n
"
,
r
->
empty
.
record_type
);
printk
(
KERN_CONT
"UNKNOWN TYPE 0x%02x
\n
"
,
r
->
empty
.
record_type
);
break
;
}
}
...
...
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