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


Groups > linux.kernel > #1615663

Re: [PATCH] [media] lirc_dev: fix regression in feature check logic in ioctl

From Andi Shyti <andi.shyti@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] [media] lirc_dev: fix regression in feature check logic in ioctl
Date 2017-04-04 04:40 +0200
Message-ID <tsmxY-76q-3@gated-at.bofh.it> (permalink)
References <tsmxY-76q-5@gated-at.bofh.it> <tsjqp-536-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Alexey,

this has been already fixed in commit bd291208d7f5 ("[media]
lirc_dev: LIRC_{G,S}ET_REC_MODE do not work") by Sean.

You need to update your kernel or cherry-pick this patch.

In any case, for future patches of this kind, some notes through
the lines:

On Tue, Apr 04, 2017 at 02:19:16AM +0300, Alexey Ignatov wrote:
> Commit 273b902a5b1bfd6977a73c4de3eb96db3cb103cb removed inversion in

References to commit should be of the kind:

Commit 273b902a5b1b ("[media] lirc_dev: use LIRC_CAN_REC() define
to check if the device can receive")

Please run checkpatch.pl before sending the patch.

> features check conditionals (by accident, perhaps). That change resulted
> in erroneous reporting that device can't receive while actually it can.
> Fix this.
> 
> Signed-off-by: Alexey Ignatov <lexszero@gmail.com>

Here goes:

Fixes: 273b902a5b1b ("[media] lirc_dev: use LIRC_CAN_REC() define to check if the device can receive")
Cc: <stable@vger.kernel.org>

because it fixes a bug (check Sean's patch).

Thanks,
Andi

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] [media] lirc_dev: fix regression in feature check logic in ioctl Alexey Ignatov <lexszero@gmail.com> - 2017-04-04 01:20 +0200
  Re: [PATCH] [media] lirc_dev: fix regression in feature check logic in  ioctl Andi Shyti <andi.shyti@samsung.com> - 2017-04-04 04:40 +0200

csiph-web