[PATCH v2 08/16] spi: davinci: Remove uninitialized_var() usage
Mark Brown <[email protected]>
| Newsgroups | org.infradead.lists.b43-dev,org.kernel.vger.linux-block,org.kernel.vger.linux-clk,org.kernel.vger.linux-doc,org.kernel.vger.linux-ide,org.kernel.vger.linux-kernel,org.kernel.vger.linux-spi,org.kernel.vger.linux-wireless,org.kernel.vger.netdev,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 19, 2020 at 08:29:59PM -0700, Kees Cook wrote: > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings (e.g. > "unused variable"). If the compiler thinks it is uninitialized, either > simply initialize the variable or make compiler changes. As a precursor > to removing[2] this[3] macro[4], just remove this variable since it was > actually unused: Please copy maintainers on patches :( Acked-by: Mark Brown <[email protected]> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20200701/52a15c0c/attachment.sig>