linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [patch] udev: another canidate for static
@ 2003-10-21 20:49 Greg KH
  2003-10-21 21:05 ` Robert Love
  2003-10-21 23:17 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Greg KH @ 2003-10-21 20:49 UTC (permalink / raw)
  To: linux-hotplug

On Tue, Oct 21, 2003 at 03:10:31PM -0400, Robert Love wrote:
> Another one of those "trivial patches so everything must be good"
> 
> sleep_for_dev() isn't exported or defined in a header, so it can be
> marked 'static'

> 
> Yes, I use gcc to detect these things :)

Heh, nice.  Too bad you missed the bug in that function :)

I forgot to actually increase the loop variable so that we time out
eventually.  Right now we just sit and spin forever.  Not nice at all...

> Patch is against udev-004.

Thanks, I've applied this.

What is the argument to gcc to catch stuff like this?

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

end of thread, other threads:[~2003-10-21 23:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-21 20:49 [patch] udev: another canidate for static Greg KH
2003-10-21 21:05 ` Robert Love
2003-10-21 23:17 ` Greg KH

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).