]> git.ipfire.org Git - people/ms/u-boot.git/commit
kbuild: fixdep: Check fstat(2) return value
authorTom Rini <trini@konsulko.com>
Fri, 13 May 2016 14:54:04 +0000 (10:54 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 23 May 2016 15:50:21 +0000 (11:50 -0400)
commitc1420f8b2b0f3c833c024979495ab22db34a5dbe
tree3fd5349d8a35160af2fed4f39f2322ec300aa976
parentc409bd015c295ba088af75b117d1dd6ebd8080ba
kbuild: fixdep: Check fstat(2) return value

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 <trini@konsulko.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/basic/fixdep.c