Re: [PATCH 1/3] ser_gigaset: fix up NULL checks
Tilman Schmidt <[email protected]> Wed, 9 Dec 2015 11:45:57 +0100
| Newsgroups | gmane.linux.kernel,gmane.linux.network,gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <[email protected]> |
Am 08.12.2015 um 23:16 schrieb One Thousand Gnomes:
> The right fix as far as I can see is to remove the tests although
> WARN_ON() combined with your tty->ops change might be safer.
Feel free to submit a patch.
>> It's pretty obvious that this should have been part of commit
>> f34d7a5b7010 ("tty: The big operations rework"). That being said, these
>
> It ahould probably have been fixed around the same time or in one of the
> tty locking reviews, but drivers/isdn and net/irda weren't traditionally
> part of the general tty maintenance but handled separately/
Or just ignored.
>> test puzzle me. It's not obvious why they're needed. Ie, can the null
>> dereferences they try to catch really happen? But I can try to figure
>> out that in the future, if I ever feel the urge to do so. Anyhow:
>>
>> Acked-by: Paul Bolle <[email protected]>
>
> Nacked-by: Alan Cox <[email protected]>
So you feel it's better to maintain the current inconsistent state
created by commit f34d7a5b? Please elaborate.
signature.asc
(application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWaAZ0AAoJEFPuqx0v+F+qsKcH/jc4tXNXZG3abCSIrODfIoNP JKNYPvtNZFnGwzijOkMsBYeu34PCNFpNZhYPo36hi/X2rZCsmCUmg8yfOgwsGhVV 9d9KSK3l+WTkwnm4jaA15dP8VHEYrZaZF/CK5tBYCKbkF/qi4FqA8BsJ0CY067WK Qg8rS2vcZlmbYMNWgC5fGLk84B5Uy0GjoMOjexWMdf+gYMoMMxhtuSXL3vmgJtIk c2R2PdLWYVKBSBD/W06qZWualJMlrrfSHxsQVo6OHueOm64v1xYLAn/HLbVsJnhu HnJJZXGekHV6iEMWbSuVQqTYXLO/ZvwRfbvnTxrWvRcxhRPBxqUHGzS2b7D9yv0= =l5J4 -----END PGP SIGNATURE-----