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
fd0e5187
Commit
fd0e5187
authored
May 17, 2006
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MTD] Fix mtdconcat build. We didn't introduce mtd->writesize yet.
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
e8d32937
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/mtd/mtdconcat.c
drivers/mtd/mtdconcat.c
+2
-2
No files found.
drivers/mtd/mtdconcat.c
View file @
fd0e5187
...
...
@@ -276,8 +276,8 @@ concat_writev_ecc(struct mtd_info *mtd, const struct kvec *vecs,
return
-
EINVAL
;
/* Check alignment */
if
(
mtd
->
writesize
>
1
)
if
((
to
%
mtd
->
writesize
)
||
(
total_len
%
mtd
->
writesize
))
if
(
mtd
->
oobblock
>
1
)
if
((
to
%
mtd
->
oobblock
)
||
(
total_len
%
mtd
->
oobblock
))
return
-
EINVAL
;
/* make a copy of vecs */
...
...
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