Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
b0435695
Commit
b0435695
authored
May 25, 2005
by
Thomas Gleixner
Committed by
Thomas Gleixner
May 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MTD] map.h Use the correct macro and fix the resulting compiler warning
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
3a3ab48c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
include/linux/mtd/map.h
include/linux/mtd/map.h
+4
-3
No files found.
include/linux/mtd/map.h
View file @
b0435695
/* Overhauled routines for dealing with different mmap regions of flash */
/* $Id: map.h,v 1.
49 2005/05/24 18:45:15
gleixner Exp $ */
/* $Id: map.h,v 1.
51 2005/05/25 10:15:29
gleixner Exp $ */
#ifndef __LINUX_MTD_MAP_H__
#define __LINUX_MTD_MAP_H__
...
...
@@ -351,8 +351,9 @@ static inline map_word map_word_ff(struct map_info *map)
map_word
r
;
int
i
;
if
(
map_bank_width
(
map
)
<
MAP_FF_LIMIT
)
{
r
.
x
[
0
]
=
(
1
<<
(
8
*
map_bank_width
(
map
)))
-
1
;
if
(
map_bankwidth
(
map
)
<
MAP_FF_LIMIT
)
{
int
bw
=
8
*
map_bankwidth
;
r
.
x
[
0
]
=
(
1
<<
bw
)
-
1
;
}
else
{
for
(
i
=
0
;
i
<
map_words
(
map
);
i
++
)
r
.
x
[
i
]
=
~
0UL
;
...
...
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