From: Tilman Schmidt <tilman@imap.cc>
To: santosh nayak <santoshprasadnayak@gmail.com>
Cc: hjlipp@web.de, isdn@linux-pingi.de,
gigaset307x-common@lists.sourceforge.net, netdev@vger.kernel.org,
linux-media@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] isdn: Return -EINTR in gigaset_start() if locking attempts fails.
Date: Sat, 17 Mar 2012 10:31:55 +0000 [thread overview]
Message-ID: <4F64681B.8030406@imap.cc> (raw)
In-Reply-To: <1331903413-11426-1-git-send-email-santoshprasadnayak@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
Am 16.03.2012 14:10, schrieb santosh nayak:
> From: Santosh Nayak <santoshprasadnayak@gmail.com>
>
> If locking attempt was interrupted by a signal then we should
> return -EINTR so that caller can take appropriate action.
NACK.
The return value of gigaset_start(), as documented in its
header comment, is:
* 1 - success, 0 - error
Its callers rely on this. If you want to change it, you must
also change the documentation and the callers accordingly.
In its current form the patch would just break the driver.
Thanks,
Tilman
--
Tilman Schmidt E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Tilman Schmidt <tilman@imap.cc>
To: santosh nayak <santoshprasadnayak@gmail.com>
Cc: hjlipp@web.de, isdn@linux-pingi.de,
gigaset307x-common@lists.sourceforge.net, netdev@vger.kernel.org,
linux-media@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] isdn: Return -EINTR in gigaset_start() if locking attempts fails.
Date: Sat, 17 Mar 2012 11:31:55 +0100 [thread overview]
Message-ID: <4F64681B.8030406@imap.cc> (raw)
In-Reply-To: <1331903413-11426-1-git-send-email-santoshprasadnayak@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
Am 16.03.2012 14:10, schrieb santosh nayak:
> From: Santosh Nayak <santoshprasadnayak@gmail.com>
>
> If locking attempt was interrupted by a signal then we should
> return -EINTR so that caller can take appropriate action.
NACK.
The return value of gigaset_start(), as documented in its
header comment, is:
* 1 - success, 0 - error
Its callers rely on this. If you want to change it, you must
also change the documentation and the callers accordingly.
In its current form the patch would just break the driver.
Thanks,
Tilman
--
Tilman Schmidt E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
next prev parent reply other threads:[~2012-03-17 10:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 13:10 [PATCH] isdn: Return -EINTR in gigaset_start() if locking attempts fails santosh nayak
2012-03-16 13:22 ` santosh nayak
2012-03-17 6:18 ` David Miller
2012-03-17 6:18 ` David Miller
2012-03-17 15:56 ` santosh prasad nayak
2012-03-17 15:57 ` santosh prasad nayak
2012-03-17 20:58 ` David Miller
2012-03-17 20:58 ` David Miller
2012-03-17 21:28 ` Julia Lawall
2012-03-17 21:28 ` Julia Lawall
2012-03-17 10:31 ` Tilman Schmidt [this message]
2012-03-17 10:31 ` Tilman Schmidt
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=4F64681B.8030406@imap.cc \
--to=tilman@imap.cc \
--cc=gigaset307x-common@lists.sourceforge.net \
--cc=hjlipp@web.de \
--cc=isdn@linux-pingi.de \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=santoshprasadnayak@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.