* [PATCH] Input: Fix double equality sign in uevent
@ 2010-12-18 19:31 Henrik Rydberg
2010-12-19 8:04 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: Henrik Rydberg @ 2010-12-18 19:31 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: Jiri Kosina, linux-input, linux-kernel, Henrik Rydberg, stable
Looking at the uevent stream for input devices, all properties
are on the form "A=B" except the bitmap values, which are on the
form "A==B". Remedied with this patch.
Cc: stable@kernel.org
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
---
Hi Dmitry,
Unless the input bitmap properties should really behave differently,
this patch ought to be a candidate for 2.6.37.
Thanks,
Henrik
drivers/input/input.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/input.c b/drivers/input/input.c
index c3e5fc7..bed725f 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -1471,7 +1471,7 @@ static int input_add_uevent_bm_var(struct kobj_uevent_env *env,
{
int len;
- if (add_uevent_var(env, "%s=", name))
+ if (add_uevent_var(env, "%s", name))
return -ENOMEM;
len = input_print_bitmap(&env->buf[env->buflen - 1],
--
1.7.2.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Input: Fix double equality sign in uevent
2010-12-18 19:31 [PATCH] Input: Fix double equality sign in uevent Henrik Rydberg
@ 2010-12-19 8:04 ` Dmitry Torokhov
2010-12-19 8:37 ` Henrik Rydberg
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2010-12-19 8:04 UTC (permalink / raw)
To: Henrik Rydberg; +Cc: Jiri Kosina, linux-input, linux-kernel, stable
On Sat, Dec 18, 2010 at 08:31:57PM +0100, Henrik Rydberg wrote:
> Looking at the uevent stream for input devices, all properties
> are on the form "A=B" except the bitmap values, which are on the
> form "A==B". Remedied with this patch.
>
> Cc: stable@kernel.org
> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
> ---
> Hi Dmitry,
>
> Unless the input bitmap properties should really behave differently,
> this patch ought to be a candidate for 2.6.37.
>
Hmm, I do not think so because:
- either nobody uses bitmap variables and then it is not priority
- users worked around the problem and by applying fix we'd be
breaking their setups.
I think we should apply it but at the beginning of .38 cycle to give us
a chance to evaluate and maybe revert.
Does this make sense?
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Input: Fix double equality sign in uevent
2010-12-19 8:04 ` Dmitry Torokhov
@ 2010-12-19 8:37 ` Henrik Rydberg
0 siblings, 0 replies; 3+ messages in thread
From: Henrik Rydberg @ 2010-12-19 8:37 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Jiri Kosina, linux-input, linux-kernel, stable
On Sun, Dec 19, 2010 at 12:04:28AM -0800, Dmitry Torokhov wrote:
> On Sat, Dec 18, 2010 at 08:31:57PM +0100, Henrik Rydberg wrote:
> > Looking at the uevent stream for input devices, all properties
> > are on the form "A=B" except the bitmap values, which are on the
> > form "A==B". Remedied with this patch.
> >
> > Cc: stable@kernel.org
> > Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
> > ---
> > Hi Dmitry,
> >
> > Unless the input bitmap properties should really behave differently,
> > this patch ought to be a candidate for 2.6.37.
> >
>
> Hmm, I do not think so because:
>
> - either nobody uses bitmap variables and then it is not priority
> - users worked around the problem and by applying fix we'd be
> breaking their setups.
>
> I think we should apply it but at the beginning of .38 cycle to give us
> a chance to evaluate and maybe revert.
>
> Does this make sense?
Indeed, since the problem has been around at least since 2007, it makes perfect sense.
Thanks,
Henrik
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-19 8:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-18 19:31 [PATCH] Input: Fix double equality sign in uevent Henrik Rydberg
2010-12-19 8:04 ` Dmitry Torokhov
2010-12-19 8:37 ` Henrik Rydberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).