Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1592976
| From | Andy Shevchenko <andy.shevchenko@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy |
| Date | 2017-03-06 08:50 +0100 |
| Message-ID | <thVz3-4Q2-5@gated-at.bofh.it> (permalink) |
| References | <tgzAC-3lq-19@gated-at.bofh.it> <thm8h-4k6-13@gated-at.bofh.it> <thV61-4pW-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Mar 6, 2017 at 9:09 AM, Michał Kępień <kernel@kempniu.pl> wrote: >> On Thu, Mar 2, 2017 at 2:02 PM, Michał Kępień <kernel@kempniu.pl> wrote: >> > + * Since sparse_keymap_setup() now uses a managed allocation for the >> > + * keymap copy, use of this function is deprecated. >> >> So... >> >> > */ >> > void sparse_keymap_free(struct input_dev *dev) >> >> ... add __deprecated then? > > Sure, I can do that if Dmitry recognizes this patch as otherwise sane. > I have never used that attribute before, so thanks for the tip. It will provoke a warning when compiling the code. It makes sense if anyone is going to fix the current users and leave old API for one cycle. So, the question is what we are going to do with an old API. -- With Best Regards, Andy Shevchenko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy Michał Kępień <kernel@kempniu.pl> - 2017-03-02 15:10 +0100
Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-03-04 19:00 +0100
Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy Michał Kępień <kernel@kempniu.pl> - 2017-03-06 08:20 +0100
Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-03-06 08:50 +0100
Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy Michał Kępień <kernel@kempniu.pl> - 2017-03-07 09:20 +0100
Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-07 19:50 +0100
Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-07 19:20 +0100
csiph-web