From: OGAWA Hirofumi Date: Sat, 29 Nov 2014 16:08:56 +0000 Subject: Re: fs-fat: Less function calls in fat_fill_super() after error detection Message-Id: <87egsm2dlz.fsf@devron.myhome.or.jp> List-Id: References: <5307CAA2.8060406@users.sourceforge.net> <530A72AA.3000601@users.sourceforge.net> <530B5FB6.6010207@users.sourceforge.net> <530C5E18.1020800@users.sourceforge.net> <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> <5467B12C.4010602@users.sourceforge.net> <54796B5E.5040707@users.sourceforge.net> <87sih22sn8.fsf@devron.myhome.or.jp> <87lhmu2jl8.fsf@devron.myhome.or.jp> <5479DD48.6030508@users.sourceforge.net> In-Reply-To: <5479DD48.6030508@users.sourceforge.net> (SF Markus Elfring's message of "Sat, 29 Nov 2014 15:50:48 +0100") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: Julia Lawall , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, trivial@kernel.org, Coccinelle SF Markus Elfring writes: >> More labels are more chances of bug (and we don't care micro optimize >> on this error path), isn't it? > > I would prefer that a few jump targets can be redirected so that unnecessary > function calls (and corresponding checks) can be avoided. It is from real bugs in my experience, it saw several times those (mine and other guys, in linux and others). And I think it doesn't have value to maintain labels for micro optimization in *this error path* though. So, if you or analyzer can check bugs by the patches affect to those label usage in future, Acked-by: OGAWA Hirofumi -- OGAWA Hirofumi