public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Must check what?
@ 2006-10-04 18:37 Matthew Wilcox
  2006-10-04 19:02 ` Andrew Morton
  0 siblings, 1 reply; 8+ messages in thread
From: Matthew Wilcox @ 2006-10-04 18:37 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel


I'd like to propose that anyone adding __must_check markers in the
future be forced to *WRITE SOME FUCKING DOCUMENTATION* about exactly
what it is the caller is supposed to be checking.

extern int __must_check bus_register(struct bus_type * bus);

Why, thank you.  Does it return 0 for success, or 1 on success?  Does it
return an errno?


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

end of thread, other threads:[~2006-10-05 13:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-04 18:37 Must check what? Matthew Wilcox
2006-10-04 19:02 ` Andrew Morton
2006-10-04 19:25   ` Matthew Wilcox
2006-10-04 19:43     ` Andrew Morton
2006-10-04 20:58       ` Vadim Lobanov
2006-10-05 13:20         ` Helge Hafting
2006-10-05  3:47       ` Kyle Moffett
2006-10-04 19:50     ` Randy Dunlap

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