Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1068277lqb; Wed, 17 Apr 2024 21:41:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW92nT+GMTwAcqeeX7MFdw8Fh0jnI7crjVtt7FKK+zFV8x2bGNnTEfVMIqB/z3hnhNH5HgXKQBWlOQ4ic7t9DrjO/FmmNBXAUFCwpXKWw== X-Google-Smtp-Source: AGHT+IGRVG02451Ys9qXI4B6rrNLhvB+MGhsylxbjFR3K4shDYTp0LjeEIPToPUHqJuETvOY/1pX X-Received: by 2002:a05:6214:16c9:b0:699:2fde:3a2a with SMTP id d9-20020a05621416c900b006992fde3a2amr1620466qvz.51.1713415265098; Wed, 17 Apr 2024 21:41:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713415265; cv=pass; d=google.com; s=arc-20160816; b=neWaaABKhXWTlBGhaCg2cKeAY6sl2VTBqLvGWyHpsn9+LQRdeqg2ddEZZdtYVZSZLi 8nxf2WHyDt+J8UUtBotE2a6eMr2I8qW31sBG5gWdgKYVergttB9ROFxsL9K9wlXasaOe bu3Q56fHOMzdruX2RLxbIgvNRBdrZvJXIFSwKFbEFByMMewjVnHjSA4zLWjuH8NpLOYh l6wnqsF61IT+Zl3NrBS3lMWy+P3Y+d2MlFzsW8Gzg8Ofjrc1IKAmjZKIBc3bocPPDYn9 nYdnw5AzYBj9d+WC+YMZxMe9CYJjuvMZ0wqQkrQDuwygscGTZj3n4fpfJtNbCcrEGeoe BEtg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5ztg9BI88GK6bd2X7GeHc7P/WMoFwiJa9nKloQo5n1w=; fh=jDU+OWnoP+wAL6r7gcloWOiD/Q/XNS2d3wBHENskO58=; b=a+CPdTUaf5bIvPbmK1C+hO3qw+MkR9tcATXUeibanMfOj5UvZw/zBjxyXDvpf+P2AF 1Wwgftss7X+R4FzsQsIm6gXjFu5is0oORumTvaVkcsBgluZYfisJwiOcpUUhlJXzAG0O HfmWcXOaNYVNEc0gDd9HceSIiheZT2xu73APOw7On1xgoAxvJm6kf3TcX7zgJCr6Yr4X yWNBWw5mL2d7LrHlcdHeLSCj47O6AbpGvktxfNe9OWGploIUeA2zLyWaAZg8UFGu+KBI UEtpACu6ex+5YVLN18nS9+DfaJK3KWpHJa5k9TrVEwDklRgaNDYwgAPo/zjkchtclNDu 5Piw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WJqHREHb; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-149503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149503-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 5-20020a05621420c500b0069906840dd4si697712qve.517.2024.04.17.21.41.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 21:41:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WJqHREHb; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-149503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149503-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 945BF1C20D92 for ; Thu, 18 Apr 2024 04:41:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7C8D4EB51; Thu, 18 Apr 2024 04:40:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WJqHREHb" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12FA837162; Thu, 18 Apr 2024 04:40:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713415258; cv=none; b=YKqQ4AmVdjrkZqAzm/o3I1DtTS/IiTqjb1DI9ycB9uTFNWKWANxPkxfcBvlMyF2zxe1tOgL0Wng3O+J3fZdPjsegGzKUD/TsVP6BwPuKV6FeZNjanmGaSC5EmoADOvkTfiNfdE2LOaZPAnMz+f3LT3siExmLV/Q64dQpPBp99V4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713415258; c=relaxed/simple; bh=VQ+erC02S8QBEDvlvhPlfOxKd9HwPHoMlyukhevwlIQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GuJDVP5+IyDaoVI1H6Tl2qbHC9JRHacZd3Yg1GKKKlQ0GxdMpSX1gB7cnbvlUMPZ0gZRlsxFROGjOva1/qokpjTjVGmPWwTFTg1Mx+mFDO3LifAizOnpK1hcIhaPV8rJaHO3FAAsGMDXxdjHxo47I8D3+0Lzc4rTFJZHfg1SSlU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WJqHREHb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 210FCC113CC; Thu, 18 Apr 2024 04:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713415257; bh=VQ+erC02S8QBEDvlvhPlfOxKd9HwPHoMlyukhevwlIQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WJqHREHbYjz/JTe12+U0xtkbyjeOrhG+U7wI2vaISWNhthmu6JzBwTJzx0T6OUqkA hcLnVClJH3E1joYatGWn/i5ijuRyr3mCYwgaMhcXwqev0eX31VRfabVAiiyHakgmsg aglJgsJMS+Xf3aALsPR8EDgcn3EDDOaGfhF1dwmA= Date: Thu, 18 Apr 2024 06:40:52 +0200 From: Greg Kroah-Hartman To: Carlos Llamas Cc: Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Suren Baghdasaryan , Serban Constantinescu , linux-kernel@vger.kernel.org, kernel-team@android.com, Alice Ryhl , stable@vger.kernel.org Subject: Re: [PATCH 4/4] binder: fix max_thread type inconsistency Message-ID: <2024041858-unwoven-craziness-13a6@gregkh> References: <20240417191418.1341988-1-cmllamas@google.com> <20240417191418.1341988-5-cmllamas@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240417191418.1341988-5-cmllamas@google.com> On Wed, Apr 17, 2024 at 07:13:44PM +0000, Carlos Llamas wrote: > The type defined for the BINDER_SET_MAX_THREADS ioctl was changed from > size_t to __u32 in order to avoid incompatibility issues between 32 and > 64-bit kernels. However, the internal types used to copy from user and > store the value were never updated. Use u32 to fix the inconsistency. > > Fixes: a9350fc859ae ("staging: android: binder: fix BINDER_SET_MAX_THREADS declaration") > Reported-by: Arve Hj?nnev?g > Cc: stable@vger.kernel.org > Signed-off-by: Carlos Llamas > --- > drivers/android/binder.c | 2 +- > drivers/android/binder_internal.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Why does only patch 4/4 need to go into the tree now, and as a stable backport, but the first 3 do not? Shouldn't this be two different series of patches, one 3 long, and one 1 long, to go to the different branches (next and linus)? thanks, greg k-h