ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Ksummit-discuss] [TECH TOPIC] How to encourage driver authors to annotate integer endianness properly
@ 2017-10-25  9:47 Bart Van Assche
  2017-10-25  9:54 ` Greg KH
  2017-10-25 12:40 ` Alexey Dobriyan
  0 siblings, 2 replies; 14+ messages in thread
From: Bart Van Assche @ 2017-10-25  9:47 UTC (permalink / raw)
  To: tytso; +Cc: leonro, ksummit-discuss

Hello Ted,

As you most likely know endianness annotations like __be32 can be verified
by the static source code analyzer called sparse. These annotations are a
big help to verify whether endianness conversions in drivers are correct
(e.g. be32_to_cpu()). However, many driver authors either are not familiar
with sparse or do not use it to verify their work. I think we need a way
to encourage driver authors to pay attention to endianness annotations,
e.g. by letting the zero-day kernel test infrastructure verify endianness
annotations. Please consider to add this topic to the kernel summit agenda. 

Thanks,

Bart.

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

end of thread, other threads:[~2017-10-29  2:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25  9:47 [Ksummit-discuss] [TECH TOPIC] How to encourage driver authors to annotate integer endianness properly Bart Van Assche
2017-10-25  9:54 ` Greg KH
2017-10-25 10:06   ` Bart Van Assche
2017-10-25 10:13     ` greg
2017-10-25 10:16       ` Mark Brown
2017-10-25 12:56         ` Theodore Ts'o
2017-10-25 10:24       ` Leon Romanovsky
2017-10-25 10:38         ` greg
2017-10-25 12:11           ` Bart Van Assche
2017-10-25 10:18     ` Leon Romanovsky
2017-10-25 12:40 ` Alexey Dobriyan
2017-10-25 13:11   ` David Woodhouse
2017-10-25 16:16     ` Josh Triplett
2017-10-29  2:05       ` Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox