Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1391645 > unrolled thread

Re: [PATCH] tpm: use devm_add_action_or_reset

Started bySudip Mukherjee <sudipm.mukherjee@gmail.com>
First post2016-04-30 19:10 +0200
Last post2016-04-30 19:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] tpm: use devm_add_action_or_reset Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-04-30 19:10 +0200

#1391645 — Re: [PATCH] tpm: use devm_add_action_or_reset

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2016-04-30 19:10 +0200
SubjectRe: [PATCH] tpm: use devm_add_action_or_reset
Message-ID<rtGz0-2P3-11@gated-at.bofh.it>
On Tue, Apr 26, 2016 at 11:30:14AM +0300, Jarkko Sakkinen wrote:
> On Mon, Apr 25, 2016 at 09:46:38PM +0100, Sudip Mukherjee wrote:
> > If devm_add_action() fails we are explicitly calling the cleanup function
> > in the error path. Lets use the helper function devm_add_action_or_reset()
> > and return directly as we know the cleanup has been done by the helper.
> 
> Have you verified that this compiles against my tree?

This was done against linux-next. But now I have just rebased against
the charmisc tree and sent v2. Also added the Reviewed-by tag to it.
(hope thats ok)

regards
sudip

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web