DragonFly BSD
DragonFly commits List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/dev/pccard/pccbb pccbb.c

From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Thu, 11 Aug 2005 20:23:30 +0200

On 11.08.2005, at 19:33, Matthew Dillon wrote:
Same here. In this case the malloc clearly should not be
allowed to fail as this code is called as part of the initialization
phase. This is a common occurance in FreeBSD code and we've been
changing those M_NOWAIT's to M_INTWAIT's right and left for
initialization phase code.

But it can fail, like other things in the initialization can fail as well. All other code copes with failures, except cbb_insert_res.

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]