Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1219661
| From | Alexey Klimov <klimov.linux@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RESEND 0/1] Revert "spi/doc: spi_master_put must be followed up by kfree" |
| Date | 2015-09-06 02:30 +0200 |
| Message-ID | <q5w0h-7V2-1@gated-at.bofh.it> (permalink) |
| References | <q5urv-5CW-1@gated-at.bofh.it> <q5vGV-7yK-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Sep 6, 2015 at 3:06 AM, Mark Brown <broonie@kernel.org> wrote: > On Sun, Sep 06, 2015 at 01:47:21AM +0300, Alexey Klimov wrote: > >> During review of new SPI drivers I tried to understand connection >> between comment "calling spi_master_put() and kfree() to prevent a >> memory leak" for spi_alloc_master() in spi.c and why no driver calls >> kfree() on error path. Looks like Uwe added this comment and later I >> found patch from Guenter that reverted this comment but spi-imx.c was >> not fixed for that time. Later in 2013 spi-imx was fixed. Is it >> correct time right now to fix comment? > > I'm sorry but I'm not clear what you're talking about here as there's > missing context... where is this comment you're talking about? > > In general please don't send cover letters for single patches, either > add the content to the commit message or put it after the --- if it's > administrative stuff (like SubmittingPatches says). Okay, understand (about formatting of subject, RESEND noise and no cover letter for single patches). Just never send reverts before (especially when it's re-send from 2012 year). It's easy to see comment in patch with subject: [PATCH RESEND 1/1] Revert "spi/doc: spi_master_put must be followed up by kfree" It's in drivers/spi/spi.c, line 1440 in tag v4.2 released ~ 5 days ago. Comment for function spi_alloc_master(). Sorry. Right now I see how I screwed up. Should I re-send it as single patch with all info included (marking as RESEND)? -- Best regards, Klimov Alexey -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH RESEND 0/1] Revert "spi/doc: spi_master_put must be followed up by kfree" Alexey Klimov <alexey.klimov@linaro.org> - 2015-09-06 00:50 +0200
Re: [PATCH RESEND 0/1] Revert "spi/doc: spi_master_put must be followed up by kfree" Mark Brown <broonie@kernel.org> - 2015-09-06 02:10 +0200
Re: [PATCH RESEND 0/1] Revert "spi/doc: spi_master_put must be followed up by kfree" Alexey Klimov <klimov.linux@gmail.com> - 2015-09-06 02:30 +0200
Re: [PATCH RESEND 0/1] Revert "spi/doc: spi_master_put must be followed up by kfree" Mark Brown <broonie@kernel.org> - 2015-09-07 12:20 +0200
csiph-web