From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964886AbbJ0PSL (ORCPT ); Tue, 27 Oct 2015 11:18:11 -0400 Received: from dehamd003.servertools24.de ([31.47.254.18]:53742 "EHLO dehamd003.servertools24.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932372AbbJ0PSJ (ORCPT ); Tue, 27 Oct 2015 11:18:09 -0400 Subject: Re: character driver - poll() timeout To: Muni Sekhar References: <562F31B3.6090103@ladisch.de> Cc: linux-kernel@vger.kernel.org From: Clemens Ladisch Message-ID: <562F95AE.9030904@ladisch.de> Date: Tue, 27 Oct 2015 16:18:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-PPP-Message-ID: <20151027151807.992069.27467@dehamd003.servertools24.de> X-PPP-Vhost: ladisch.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Muni Sekhar wrote: > On Tue, Oct 27, 2015 at 1:41 PM, Clemens Ladisch wrote: >> Muni Sekhar wrote: >>> Is it possible to print the timeout value in character driver poll() API? >> >> No. Your driver's poll callback never waits. >> >> Why do you think you need this value? > > I need to find out when exactly driver's poll callback returned timeout. Your poll callback _cannot_ return a timeout. Why do you think you need this information for? Regards, Clemens