Thread (6 messages) 6 messages, 4 authors, 2012-03-17

Re: [PATCH] isdn: Return -EINTR in gigaset_start() if locking attempts fails.

From: Tilman Schmidt <hidden>
Date: 2012-03-17 10:31:59
Also in: linux-media, netdev

Am 16.03.2012 14:10, schrieb santosh nayak:
From: Santosh Nayak <redacted>

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)

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help