From: David Miller <davem@davemloft.net>
To: santoshprasadnayak@gmail.com
Cc: hjlipp@web.de, tilman@imap.cc, 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: Fri, 16 Mar 2012 23:18:56 -0700 (PDT) [thread overview]
Message-ID: <20120316.231856.1071253468993560433.davem@davemloft.net> (raw)
In-Reply-To: <1331903413-11426-1-git-send-email-santoshprasadnayak@gmail.com>
From: santosh nayak <santoshprasadnayak@gmail.com>
Date: Fri, 16 Mar 2012 18:40:13 +0530
> We have 3 callers: gigaset_probe(), gigaset_tty_open() and
> gigaset_probe(). Each caller tries to free allocated memory
> if lock fails. This is possible if we returns -EINTR.
Look again at the callers.
They interpret "0" as an error, so your patch would break the driver.
next prev parent reply other threads:[~2012-03-17 6:19 UTC|newest]
Thread overview: 6+ 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-17 6:18 ` David Miller [this message]
2012-03-17 15:56 ` santosh prasad nayak
2012-03-17 20:58 ` David Miller
2012-03-17 21:28 ` Julia Lawall
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=20120316.231856.1071253468993560433.davem@davemloft.net \
--to=davem@davemloft.net \
--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 \
--cc=tilman@imap.cc \
/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;
as well as URLs for NNTP newsgroup(s).