lkml.org 
[lkml]   [2006]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] device_for_each_child(): kill pointless warning noise
From
Date
Ar Mer, 2006-09-27 am 21:50 -0400, ysgrifennodd Jeff Garzik:
> "almost all" Thus it is wrong to _force_ the usage model on the caller.
>
> It should be obvious that a simple search need not _require_ a dummy
> return value, that is promptly ignored.

How about just adding an explicit device_for_each_child_noret() or
similar function so that the safety check stays as well for the usual
case.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-28 13:09    [W:0.050 / U:1.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site