From: Tom Rini Date: Mon, 23 May 2016 18:14:21 -0400 Subject: [U-Boot] kbuild: fixdep: Check fstat(2) return value In-Reply-To: <1463151244-7873-1-git-send-email-trini@konsulko.com> References: <1463151244-7873-1-git-send-email-trini@konsulko.com> Message-ID: <20160523221421.GK7650@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, May 13, 2016 at 10:54:04AM -0400, Tom Rini wrote: > Coverity has recently added a check that will find when we don't check > the return code from fstat(2). Copy/paste the checking logic that > print_deps() has with an appropriate re-wording of the perror() message. > > [ Linux commit : 46fe94ad18aa7ce6b3dad8c035fb538942020f2b ] > > Signed-off-by: Tom Rini > Signed-off-by: Michal Marek Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: