Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1391645
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] tpm: use devm_add_action_or_reset |
| Date | 2016-04-30 19:10 +0200 |
| Message-ID | <rtGz0-2P3-11@gated-at.bofh.it> (permalink) |
| References | <rrVCa-3B8-25@gated-at.bofh.it> <rs6Hg-4gv-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] tpm: use devm_add_action_or_reset Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-04-30 19:10 +0200
csiph-web