netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] airo.c: Description and function is not the same
@ 2007-01-21 12:01 Richard Knutsson
  2007-01-23 15:11 ` Dan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Knutsson @ 2007-01-21 12:01 UTC (permalink / raw)
  To: linville; +Cc: netdev

Hello

In the tour of converting local definitions of boolean-type/values, I 
ran into airo.c's description of ex decapsulate():

 *      Returns: BOOLEAN - TRUE if packet should be dropped otherwise FALSE

but returns SUCCESS (defined as 0) and ERROR (defined as -1).

Also, shouldn't those functions be converted to return 'bool' when the 
description say so (happy to do it).

Richard Knutsson


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

end of thread, other threads:[~2007-01-23 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-21 12:01 [RFC] airo.c: Description and function is not the same Richard Knutsson
2007-01-23 15:11 ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).