summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/fw-download.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-08-11 13:27:24 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2016-08-12 17:38:19 +0200
commit0675363ac7ffe27a25bf237ce2bf1e084637a3a0 (patch)
tree73f0f8f32533915fda71f9afeb25fe4ef2ab486e /drivers/staging/greybus/fw-download.c
parentb2abeaa10d5711e7730bb07120dd60ae27d7b930 (diff)
downloadop-kernel-dev-0675363ac7ffe27a25bf237ce2bf1e084637a3a0.zip
op-kernel-dev-0675363ac7ffe27a25bf237ce2bf1e084637a3a0.tar.gz
greybus: firmware: s/should/must
Replace 'should' with 'must' to clear the expectation a bit more. Reported-by: Alex Elder <alex.elder@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/fw-download.c')
-rw-r--r--drivers/staging/greybus/fw-download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/fw-download.c b/drivers/staging/greybus/fw-download.c
index 1c63256..2d72468 100644
--- a/drivers/staging/greybus/fw-download.c
+++ b/drivers/staging/greybus/fw-download.c
@@ -238,7 +238,7 @@ static int fw_download_find_firmware(struct gb_operation *op)
request = op->request->payload;
tag = (const char *)request->firmware_tag;
- /* firmware_tag should be null-terminated */
+ /* firmware_tag must be null-terminated */
if (strnlen(tag, GB_FIRMWARE_TAG_MAX_SIZE) == GB_FIRMWARE_TAG_MAX_SIZE) {
dev_err(fw_download->parent,
"firmware-tag is not null-terminated\n");
OpenPOWER on IntegriCloud