mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* question on error return if poll is interrupted
@ 2008-07-25  9:41 Oliver Neukum
  0 siblings, 0 replies; only message in thread
From: Oliver Neukum @ 2008-07-25  9:41 UTC (permalink / raw)
  To: linux-kernel

Hi,

is this code from the gspca driver correct:

	if (mutex_lock_interruptible(&gspca_dev->queue_lock) != 0)
		return POLLERR;

Shouldn't poll() return -EINTR ?

	Regards
		Oliver

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-25  9:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-25  9:41 question on error return if poll is interrupted Oliver Neukum

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

all inboxes | Powered by JetHome®