[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f6b51b63-909a-24ab-f891-7416860bf552@users.sourceforge.net>
Date: Wed, 2 Nov 2016 19:46:39 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kbuild@...r.kernel.org
Cc: Michal Marek <mmarek@...e.com>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: scripts/basic/bin2c: Complete error handling in main()
> I like the code as is.
Do you really prefer to ignore important return values in the discussed function?
> Such error checks and magic numbers are messy.
Is it safer to detect exceptional situations as early as possible here?
Regards,
Markus
Powered by blists - more mailing lists