From: Hatim Muhammed <hatimmohammed369@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: greg@kroah.com, abbotti@mev.co.uk, hsweeten@visionengravers.com,
Hatim Muhammed <hatimmohammed369@gmail.com>
Subject: [PATCH 8/8] Constify comedi_lrange struct pointer
Date: Wed, 9 Mar 2022 11:12:50 +0200 [thread overview]
Message-ID: <20220309091250.13290-1-hatimmohammed369@gmail.com> (raw)
From: Hatim Muhammed <hatimmohammed369@gmail.com>
Signed-off-by: Hatim Muhammed <hatimmohammed369@gmail.com>
---
drivers/comedi/drivers/das16.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/comedi/drivers/das16.c b/drivers/comedi/drivers/das16.c
index 937a69ce0977..d1eeb5896f2d 100644
--- a/drivers/comedi/drivers/das16.c
+++ b/drivers/comedi/drivers/das16.c
@@ -956,7 +956,7 @@ static const struct comedi_lrange *das16_ai_range(struct comedi_device *dev,
/* get any user-defined input range */
if (pg_type == das16_pg_none && (min || max)) {
- struct comedi_lrange *lrange;
+ const struct comedi_lrange *lrange;
struct comedi_krange *krange;
/* allocate single-range range table */
@@ -990,7 +990,7 @@ static const struct comedi_lrange *das16_ao_range(struct comedi_device *dev,
/* get any user-defined output range */
if (min || max) {
- struct comedi_lrange *lrange;
+ const struct comedi_lrange *lrange;
struct comedi_krange *krange;
/* allocate single-range range table */
--
2.35.1
next reply other threads:[~2022-03-09 9:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-09 9:12 Hatim Muhammed [this message]
2022-03-09 12:21 ` Ian Abbott
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=20220309091250.13290-1-hatimmohammed369@gmail.com \
--to=hatimmohammed369@gmail.com \
--cc=abbotti@mev.co.uk \
--cc=greg@kroah.com \
--cc=hsweeten@visionengravers.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®