Activity/lkml question on error return if poll is interrupted DISCUSSION Oliver Neukum 1 participant 1 message Jul 25, 2008 TreeChronological All quotes loreShare & toolsCopy link lore Oliver Neukum author 2008-07-25 09:40 UTC #0 Copy lore rawHi,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
Oliver Neukum author 2008-07-25 09:40 UTC #0 Copy lore rawHi,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