Subject: PR/32420 CVS commit: src/sys/dev/ic
To: None <port-sun2-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: netbsd-bugs
Date: 04/19/2006 17:45:02
The following reply was made to PR port-sun2/32420; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/32420 CVS commit: src/sys/dev/ic
Date: Wed, 19 Apr 2006 17:44:07 +0000 (UTC)
Module Name: src
Committed By: tsutsui
Date: Wed Apr 19 17:44:07 UTC 2006
Modified Files:
src/sys/dev/ic: z8530tty.c
Log Message:
- use M_NOWAIT rather than M_WAITOK for malloc(9) to allocate RX buffer
in zstty_attach()
- check a return value of the malloc(9)
Taken from com.c, and somehow this seems to fix PR port-sun2/32420 on tme.
To generate a diff of this commit:
cvs rdiff -r1.105 -r1.106 src/sys/dev/ic/z8530tty.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.