From: srishti <srishtishar@gmail.com>
To: abbotti@mev.co.uk
Cc: hsweeten@visionengravers.com, gregkh@linuxfoundation.org,
thrust73@gmail.com, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org, srishti <srishtishar@gmail.com>
Subject: [PATCH] Staging: comedi: comedidev.h: fixed a warning
Date: Tue, 16 May 2017 14:00:23 +0530 [thread overview]
Message-ID: <1494923423-6919-1-git-send-email-srishtishar@gmail.com> (raw)
Fixed a warning : struct comedi_lrange is generally constant.
Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
---
drivers/staging/comedi/comedidev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 1bb9986..82df090 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -623,7 +623,7 @@ extern const struct comedi_lrange range_unknown;
* There may also be a flag that indicates the minimum and maximum are merely
* scale factors for an unknown, external reference.
*/
-struct comedi_lrange {
+const struct comedi_lrange {
int length;
struct comedi_krange range[];
};
--
2.7.4
next reply other threads:[~2017-05-16 8:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 8:30 srishti [this message]
2017-05-16 8:40 ` Dan Carpenter
2017-05-16 9:15 ` Greg KH
2017-05-16 15:57 ` srishti sharma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1494923423-6919-1-git-send-email-srishtishar@gmail.com \
--to=srishtishar@gmail.com \
--cc=abbotti@mev.co.uk \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=hsweeten@visionengravers.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thrust73@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome