projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mfd: kempld-core: Constify variables that point to const structure
[linux-2.6-block.git]
/
block
/
sed-opal.c
diff --git
a/block/sed-opal.c
b/block/sed-opal.c
index 945f4b8610e0c7d85242b500141d4bc1c0f671a2..e0de4dd448b3c7238e8656b572de72206302bf87 100644
(file)
--- a/
block/sed-opal.c
+++ b/
block/sed-opal.c
@@
-877,7
+877,7
@@
static size_t response_get_string(const struct parsed_resp *resp, int n,
return 0;
}
return 0;
}
- if (n > resp->num) {
+ if (n >
=
resp->num) {
pr_debug("Response has %d tokens. Can't access %d\n",
resp->num, n);
return 0;
pr_debug("Response has %d tokens. Can't access %d\n",
resp->num, n);
return 0;
@@
-916,7
+916,7
@@
static u64 response_get_u64(const struct parsed_resp *resp, int n)
return 0;
}
return 0;
}
- if (n > resp->num) {
+ if (n >
=
resp->num) {
pr_debug("Response has %d tokens. Can't access %d\n",
resp->num, n);
return 0;
pr_debug("Response has %d tokens. Can't access %d\n",
resp->num, n);
return 0;