From: Clemens Ladisch <clemens@ladisch.de>
To: Muni Sekhar <munisekharrms@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: character driver - poll() timeout
Date: Tue, 27 Oct 2015 16:18:06 +0100 [thread overview]
Message-ID: <562F95AE.9030904@ladisch.de> (raw)
In-Reply-To: <CAHhAz+i1-UCk4jUz3+m1=59276xHYw-tgxe=D-1Cm4cOQT1V-g@mail.gmail.com>
Muni Sekhar wrote:
> On Tue, Oct 27, 2015 at 1:41 PM, Clemens Ladisch <clemens@ladisch.de> 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
next prev parent reply other threads:[~2015-10-27 15:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-27 6:54 Muni Sekhar
2015-10-27 8:11 ` Clemens Ladisch
2015-10-27 14:56 ` Muni Sekhar
2015-10-27 15:18 ` Clemens Ladisch [this message]
2015-10-28 6:41 ` Muni Sekhar
2015-10-28 7:24 ` Clemens Ladisch
2015-10-28 10:15 ` Muni Sekhar
2015-10-27 15:20 ` Richard Weinberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=562F95AE.9030904@ladisch.de \
--to=clemens@ladisch.de \
--cc=linux-kernel@vger.kernel.org \
--cc=munisekharrms@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome