From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Lee Jones <lee.jones@linaro.org>
Cc: stable@vger.kernel.org,
"Gustavo A. R. Silva" <gustavo@embeddedor.com>,
Todd Kjos <tkjos@android.com>, Martijn Coenen <maco@android.com>
Subject: Re: [PATCH 4.14 06/24] android: binder: Use true and false for boolean values
Date: Tue, 21 Apr 2020 19:39:53 +0200 [thread overview]
Message-ID: <20200421173953.GA1307291@kroah.com> (raw)
In-Reply-To: <20200421124017.272694-7-lee.jones@linaro.org>
On Tue, Apr 21, 2020 at 01:39:59PM +0100, Lee Jones wrote:
> From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
>
> [ Upstream commit 197410ad884eb18b31d48e9d8e64cb5a9e326f2f ]
>
> Assign true or false to boolean variables instead of an integer value.
>
> This issue was detected with the help of Coccinelle.
>
> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
> Cc: Todd Kjos <tkjos@android.com>
> Cc: Martijn Coenen <maco@android.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---
> drivers/android/binder.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/android/binder.c b/drivers/android/binder.c
> index 05e75d18b4d93..afb690ed31ed9 100644
> --- a/drivers/android/binder.c
> +++ b/drivers/android/binder.c
> @@ -249,7 +249,7 @@ static struct binder_transaction_log_entry *binder_transaction_log_add(
> unsigned int cur = atomic_inc_return(&log->cur);
>
> if (cur >= ARRAY_SIZE(log->entry))
> - log->full = 1;
> + log->full = true;
While nice and pretty, this does not actually fix a bug, so it's not
needed for stable trees.
thanks,
greg k-h
next prev parent reply other threads:[~2020-04-21 17:39 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-21 12:39 [PATCH 4.14 00/24] Backported fixes taken from Sony's Vendor tree Lee Jones
2020-04-21 12:39 ` [PATCH 4.14 01/24] drm: NULL pointer dereference [null-pointer-deref] (CWE 476) problem Lee Jones
2020-04-21 12:39 ` [PATCH 4.14 02/24] clk: Fix debugfs_create_*() usage Lee Jones
2020-04-21 12:39 ` [PATCH 4.14 03/24] Revert "gpio: set up initial state from .get_direction()" Lee Jones
2020-04-21 12:39 ` [PATCH 4.14 04/24] arm64: perf: remove unsupported events for Cortex-A73 Lee Jones
2020-04-21 12:39 ` [PATCH 4.14 05/24] arm64: traps: Don't print stack or raw PC/LR values in backtraces Lee Jones
2020-04-21 12:39 ` [PATCH 4.14 06/24] android: binder: Use true and false for boolean values Lee Jones
2020-04-21 17:39 ` Greg Kroah-Hartman [this message]
2020-04-21 12:40 ` [PATCH 4.14 07/24] arch_topology: Fix section miss match warning due to free_raw_capacity() Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 08/24] wil6210: increase firmware ready timeout Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 09/24] wil6210: fix temperature debugfs Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 10/24] scsi: ufs: make sure all interrupts are processed Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 11/24] scsi: ufs: ufs-qcom: remove broken hci version quirk Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 12/24] wil6210: rate limit wil_rx_refill error Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 13/24] rpmsg: glink: use put_device() if device_register fail Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 14/24] rtc: pm8xxx: Fix issue in RTC write path Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 15/24] net: qualcomm: rmnet: Fix casting issues Lee Jones
2020-04-21 17:41 ` Greg KH
2020-04-21 12:40 ` [PATCH 4.14 16/24] rpmsg: glink: Fix missing mutex_init() in qcom_glink_alloc_channel() Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 17/24] rpmsg: glink: smem: Ensure ordering during tx Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 18/24] wil6210: fix PCIe bus mastering in case of interface down Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 19/24] wil6210: add block size checks during FW load Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 20/24] wil6210: fix length check in __wmi_send Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 21/24] wil6210: abort properly in cfg suspend Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 22/24] soc: qcom: smem: Use le32_to_cpu for comparison Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 23/24] of: fix missing kobject init for !SYSFS && OF_DYNAMIC config Lee Jones
2020-04-21 12:40 ` [PATCH 4.14 24/24] mm/vmalloc.c: move 'area->pages' after if statement Lee Jones
2020-04-21 17:58 ` [PATCH 4.14 00/24] Backported fixes taken from Sony's Vendor tree Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200421173953.GA1307291@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=gustavo@embeddedor.com \
--cc=lee.jones@linaro.org \
--cc=maco@android.com \
--cc=stable@vger.kernel.org \
--cc=tkjos@android.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.