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
e15e3b5e
Commit
e15e3b5e
authored
Sep 15, 2009
by
Stephen Rothwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'quilt/aoe'
parents
56658e0b
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 @
e15e3b5e
...
...
@@ -982,8 +982,12 @@ aoecmd_cfg_rsp(struct sk_buff *skb)
}
sysminor
=
SYSMINOR
(
aoemajor
,
h
->
minor
);
if
(
sysminor
*
AOE_PARTITIONS
+
AOE_PARTITIONS
>
MINORMASK
)
{
printk
(
KERN_INFO
"aoe: e%ld.%d: minor number too large
\n
"
,
if
(
h
->
minor
>=
NPERSHELF
)
{
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
);
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