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
93b7074e
Commit
93b7074e
authored
Sep 16, 2009
by
Stephen Rothwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'quilt/aoe'
parents
4eda90cc
c3643395
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoecmd.c
+6
-2
No files found.
drivers/block/aoe/aoecmd.c
View file @
93b7074e
...
@@ -982,8 +982,12 @@ aoecmd_cfg_rsp(struct sk_buff *skb)
...
@@ -982,8 +982,12 @@ aoecmd_cfg_rsp(struct sk_buff *skb)
}
}
sysminor
=
SYSMINOR
(
aoemajor
,
h
->
minor
);
sysminor
=
SYSMINOR
(
aoemajor
,
h
->
minor
);
if
(
sysminor
*
AOE_PARTITIONS
+
AOE_PARTITIONS
>
MINORMASK
)
{
if
(
h
->
minor
>=
NPERSHELF
)
{
printk
(
KERN_INFO
"aoe: e%ld.%d: minor number too large
\n
"
,
printk
(
KERN_INFO
"aoe: e%ld.%d: AoE minor address too large
\n
"
,
aoemajor
,
(
int
)
h
->
minor
);
return
;
}
else
if
(
sysminor
*
AOE_PARTITIONS
+
AOE_PARTITIONS
>
MINORMASK
)
{
printk
(
KERN_INFO
"aoe: e%ld.%d: AoE major address too large
\n
"
,
aoemajor
,
(
int
)
h
->
minor
);
aoemajor
,
(
int
)
h
->
minor
);
return
;
return
;
}
}
...
...
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