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
Kirill Smelkov
linux
Commits
2470c739
Commit
2470c739
authored
Oct 21, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Oct 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix mtd printk warnings
From: Jesper Juhl <juhl-lkml@dif.dk>
parent
5731d0da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/mtd/inftlcore.c
drivers/mtd/inftlcore.c
+2
-2
No files found.
drivers/mtd/inftlcore.c
View file @
2470c739
...
@@ -757,7 +757,7 @@ static int inftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block,
...
@@ -757,7 +757,7 @@ static int inftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block,
u8
eccbuf
[
6
];
u8
eccbuf
[
6
];
char
*
p
,
*
pend
;
char
*
p
,
*
pend
;
DEBUG
(
MTD_DEBUG_LEVEL3
,
"INFTL: inftl_writeblock(inftl=0x%x,block=%d,"
DEBUG
(
MTD_DEBUG_LEVEL3
,
"INFTL: inftl_writeblock(inftl=0x%x,block=%
l
d,"
"buffer=0x%x)
\n
"
,
(
int
)
inftl
,
block
,
(
int
)
buffer
);
"buffer=0x%x)
\n
"
,
(
int
)
inftl
,
block
,
(
int
)
buffer
);
/* Is block all zero? */
/* Is block all zero? */
...
@@ -803,7 +803,7 @@ static int inftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block,
...
@@ -803,7 +803,7 @@ static int inftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block,
struct
inftl_bci
bci
;
struct
inftl_bci
bci
;
size_t
retlen
;
size_t
retlen
;
DEBUG
(
MTD_DEBUG_LEVEL3
,
"INFTL: inftl_readblock(inftl=0x%x,block=%d,"
DEBUG
(
MTD_DEBUG_LEVEL3
,
"INFTL: inftl_readblock(inftl=0x%x,block=%
l
d,"
"buffer=0x%x)
\n
"
,
(
int
)
inftl
,
block
,
(
int
)
buffer
);
"buffer=0x%x)
\n
"
,
(
int
)
inftl
,
block
,
(
int
)
buffer
);
while
(
thisEUN
<
inftl
->
nb_blocks
)
{
while
(
thisEUN
<
inftl
->
nb_blocks
)
{
...
...
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