All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: comedi: comedidev.h: fixed a warning
@ 2017-05-16  8:30 srishti
  2017-05-16  8:40 ` Dan Carpenter
  2017-05-16  9:15 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: srishti @ 2017-05-16  8:30 UTC (permalink / raw)
  To: abbotti; +Cc: hsweeten, gregkh, thrust73, devel, linux-kernel, srishti

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-16 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-16  8:30 [PATCH] Staging: comedi: comedidev.h: fixed a warning srishti
2017-05-16  8:40 ` Dan Carpenter
2017-05-16  9:15 ` Greg KH
2017-05-16 15:57   ` srishti sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.