Thread (25 messages) read the whole thread 25 messages, 6 authors, 2014-12-08

Re: [tpmdd-devel] [PATCH v8 0/8] TPM 2.0 support

From: Thomas Gleixner <hidden>
Date: 2014-12-03 00:04:04
Also in: lkml

On Wed, 3 Dec 2014, Peter Hüwe wrote:
From: Peter Huewe <redacted>
Date: Wed, 3 Dec 2014 00:18:52 +0100
Subject: [PATCH] tpm:tpm_i2c_nuvoton: simpyl return statements
simpyl?
 
if !rc evals to false it is 0
-> we can return rc in both cases
Why assigning rc and returning it when you can return the result of
tpm_chip_register() right away?
 
Thanks,

	tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help