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

Re: any chance of 2.6.0-test*?


On Sun, 2003-01-12 at 17:18, Aaron Lehmann wrote:
> On Sun, Jan 12, 2003 at 11:12:41PM +0100, Oliver Neukum wrote:
> > Yes. Typical error cleanup looks like:
> > err_out:
> > 	up(&sem);
> > 	return err;
> > 
> > Releasing a lock in another function is a crime punished by slow death.
> 
> Not to mention that the 'return err;' statement is hard to move to an
> inline function meaningfully.

Not that hard:  You just "return functionname()" where functionname is
the name of your inline function that returns the value you want to
return.

-Rob

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: