Skip to contentSkip to conversation

backends: Fix warning from Sparse

PATCH Applied Stefan Weil 2 participants 4 messages Mar 8, 2015 – Mar 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 backends: Fix warning from Sparse

Sparse report:

backends/tpm.c:39:5: warning: returning void-valued expression

---
 backends/tpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
backends/tpm.c +1 -1
index 01860c4..4efe367 100644
@@ -36,7 +36,7 @@ void tpm_backend_destroy(TPMBackend *s)
 {
     TPMBackendClass *k = TPM_BACKEND_GET_CLASS(s);
 
-    return k->ops->destroy(s);
+    k->ops->destroy(s);
 }
 
 int tpm_backend_init(TPMBackend *s, TPMState *state,
Signature · 1 line
2.1.4
#1 lore raw

Applied all 7 to -trivial.

Is it intentional that there's no cover letter for the series?

Thanks,

/mjt

#2 lore raw

Am 10.03.2015 um 07:04 schrieb Michael Tokarev:

Quoted 7 lines

Applied all 7 to -trivial.

Is it intentional that there's no cover letter for the series?

Thanks,

/mjt

No, that was my mistake. Please excuse also the cris patch which I sent twice.
I did not notice that it already had caused trouble, nor did I notice that I had already sent it. In my local patch queue (~ 50 patches) there was even a 2nd cris patch
which removed the unused variables...

Regards
Stefan

#3 lore raw
Quoted 4 lines · Stefan Weil

No, that was my mistake. Please excuse also the cris patch which I sent twice.
I did not notice that it already had caused trouble, nor did I notice that I had already sent it. In my local patch queue (~ 50 patches) there was even a 2nd cris patch
which removed the unused variables...

No problems with that (except that we bothered Peter twice with this cris thing already, and I really mean "we", since it escaped my testing and accurate review too, and it was twice too, so I'm as guilty if not more).

And this situation suggests that I should process and submit patches a) more carefully and b) faster. So it is, again, good portion of my fault. Not doing trivial-patches merging for 3 weeks and rushing a whole lot in one go without that good review isn't going to work well.

Thank you for the good work! And it really is good, while boring...

/mjt