Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp645537rdb; Fri, 26 Jan 2024 06:43:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBYzQpFXzsUBwbtPviD44zSYxIklrgKPWCr7LN+g0ZFrf38R9aKn8IYfz009imMzvqDfGF X-Received: by 2002:a05:620a:11a2:b0:783:d0e1:4e47 with SMTP id c2-20020a05620a11a200b00783d0e14e47mr858770qkk.14.1706280195854; Fri, 26 Jan 2024 06:43:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706280195; cv=pass; d=google.com; s=arc-20160816; b=M/1vuE1Q5YhUYamHfr2ZtdkPPan+tQ4YvljoJ71wZ/Ekkiwi6uie1QAli3MDN8GBi4 JiVjcCNON5cK4WWfYoOV0haZnTmUxN50+tva8czXSZPc4F0gq7ZKTwVw7OqSrClbMxy6 M7xnInTE5VpswrMSOGbw2mLct2wMEfYoQntWNXPX3GcM6qI4EHPbFDpPRlZHsN8IWk9f Oa2KU9lnypc1M17kLTkH69LCkRv6NDkS+LTMgLxb2vlF3gV56PvoU04fN3GTKx1PlVce Mg119cpRChjciBIHYr1zFxgoE2/0s4GPoxoXQIwWCbwpFa1rK8pFZigvPXOd85KStkOq LMZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=I68Ldx2ZUNdKEgzY5p5+0BlL/e7BiQBE3Me8iSEys3Y=; fh=vtZDkA5fMeyCqvqTCvwSwrx5GuW0ZT717AFl2MlaMV8=; b=WzEczBnmrqa/vm9NuwCwh7GNf39i0xPYBsigRzejwaTJklplWfihk2Vs3znIJ2XU6/ z3IyRWOj8YMnKCE2yIJBHsXTmtFlkPkHreBtbNJh8celV1jMkEXffrGNTQtZXJsCdIne sdue8ieXqNSXDpfHAk0XLGdukYJW2rey4ZSTD0mXzOLr7aeBbPXKZuqFDuXiKBYuNekU yY9yIkvDgjWFvaH0Tl3j2oDfiHy3ctxPKEWT0GMrCD5CImQC97qU/GXEE6+oEQdt3rAF tqPyDDZwJkn9brngAQ3joP/qd6N1XxNakSd0kg0pUg+k0GT4vw2hh6Hi7jSMdtYH/STJ V/zQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aTS6R28i; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-40215-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40215-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p14-20020a05620a112e00b00783de635ecesi379958qkk.6.2024.01.26.06.43.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 06:43:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40215-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aTS6R28i; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-40215-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40215-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 8CAEC1C21EAF for ; Fri, 26 Jan 2024 14:43:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B07DB1CA90; Fri, 26 Jan 2024 14:40:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aTS6R28i" Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEF8B1CA95 for ; Fri, 26 Jan 2024 14:40:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706280055; cv=none; b=qwduptr0TxVjrwhSi6tvkwbSWHe7K4PY4XGB3BSfM4SCAkU1og22THX5v/4jd+LXBjANj+64DyNORQF2HBZBR8pY691gdzIADOD8ZwN5Krte/+T977LAjsA7sJQO7Pd59334wNJg/VvW8zd2B5KySD4s2GUrjcOyXRM+sUnzYSQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706280055; c=relaxed/simple; bh=ToHVwMkA2rG2Gf0KYv54/WgPDP0igZrev5cweEZsDRE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HdcR70+iMxB94jcBPDzbhP+RriFlshDqNCqaGy/HqBHU3mEmqE3wCgTLbjroRVKGYheHu2KlD86xWwFOLkPezioYfNs5omrU6Y0K5lIhQkPDbnM8RCbO25YDEK9KKnqW/BfqgGn4IbPf4RCL8lfDlhKCcuGGYl9/ijrD/3qx2FY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=aTS6R28i; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-40e86a9fc4bso7873985e9.2 for ; Fri, 26 Jan 2024 06:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706280051; x=1706884851; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=I68Ldx2ZUNdKEgzY5p5+0BlL/e7BiQBE3Me8iSEys3Y=; b=aTS6R28iC5aD98AAHMU8Z3bdzm3/Mx1zv8KDHe20ZpqOW+pHkgiUvpBfX/+29f377+ 7fYACAkkMy+aAVO/TFf57VonxbdDbnL4K5c3y2KlJRGwTfTirfL08Dz5weLj81bqN2FD Nt7UWTLFcNrxVo8cm+2dIMFyzhlsyhaG2atNNqqzYyGwQjPw798d+UTlXbKvzXdnONom 9D246YgWNWZOX4wcZdJpR0L1c1oWw2VtANFHtbbOq4NCvw7WvRWjVQhPm2v1SVoe8jna Btry7YXpuoZh89esrVERtHkzx4qbVU0fo2NbL+3HGxWGcV6/aVKHxacRbJ38NfLE7L+V xyUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706280051; x=1706884851; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=I68Ldx2ZUNdKEgzY5p5+0BlL/e7BiQBE3Me8iSEys3Y=; b=ARZeNpWqJBPpP4vhKIDRoxHhIiodz2uNvn3UvmenkHMOT6aCAWSy3XRZxpBKHRXtCp HtLGChqcHAf599mLzqnOiu9HovhIhPiJr1Vh/F5AIDvzqnOhIwghcuitX/x81TLy9Fcj jJ3r1hNTPpyOO3oAHPQgGh9d/D1xUuO5xEnPCollcHvtKgxcy7Av/VibBUihyAqxkLmn lVzDM+9FC+PvzNCFstP93tFK8Yiuvoz7eP/k++Vz2iugj4eAemUgF7XczqW5bFfI99cG jN9MkytfmLJreGPfYKCt+LIPd5qVz2BhJijbMSKwRpXVXmMRnaliqp/cEQAo3UfYIKQ7 Q5Ow== X-Gm-Message-State: AOJu0Yzn5MzbBu0vTAGjjXmrtZnVhXuBI76M1946B4520VsB1UfuKwe9 gIyIU9MTg1p356IFJwqRUCL+MlpPPwS4ed84kgL9dj6LTU8x9R/EQ2C5B1Kd1fA= X-Received: by 2002:a05:600c:580f:b0:40e:d45d:ce41 with SMTP id jz15-20020a05600c580f00b0040ed45dce41mr922611wmb.186.1706280051105; Fri, 26 Jan 2024 06:40:51 -0800 (PST) Received: from [192.168.2.107] ([79.115.63.202]) by smtp.gmail.com with ESMTPSA id i13-20020a05600c354d00b0040e45799541sm5957740wmq.15.2024.01.26.06.40.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Jan 2024 06:40:50 -0800 (PST) Message-ID: <68e63f98-366b-4558-8819-e37f58e1e3e9@linaro.org> Date: Fri, 26 Jan 2024 14:40:48 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 01/28] spi: s3c64xx: explicitly include Content-Language: en-US To: Sam Protsenko Cc: broonie@kernel.org, andi.shyti@kernel.org, arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, kernel-team@android.com, willmcvicker@google.com References: <20240125145007.748295-1-tudor.ambarus@linaro.org> <20240125145007.748295-2-tudor.ambarus@linaro.org> From: Tudor Ambarus In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 1/25/24 18:58, Sam Protsenko wrote: > On Thu, Jan 25, 2024 at 8:50 AM Tudor Ambarus wrote: >> >> The driver uses readl() but does not include . >> >> It is good practice to directly include all headers used, it avoids >> implicit dependencies and spurious breakage if someone rearranges >> headers and causes the implicit include to vanish. >> >> Include the missing header. >> >> Fixes: 230d42d422e7 ("spi: Add s3c64xx SPI Controller driver") > > Not sure the "Fixes" tag is needed here. AFAIU, this patch doesn't fix fixes tag indicates which commit failed to include the necessary header > any actual bugs, seems more like a style fix to me. In other words, not yet, but we can't estimate what header get rearranged and whether it will cause the implicit include to vanish. > I'm not convinced it has to be necessarily backported to stable > kernels. The same goes for another similar patch from this series. It would be good to have this in the stable kernels for the reasons described in the commit message. > >> Signed-off-by: Tudor Ambarus >> --- >> drivers/spi/spi-s3c64xx.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c >> index 7f7eb8f742e4..c1cbc4780a3b 100644 >> --- a/drivers/spi/spi-s3c64xx.c >> +++ b/drivers/spi/spi-s3c64xx.c >> @@ -10,6 +10,7 @@ >> #include >> #include >> #include >> +#include >> #include >> #include >> #include >> -- >> 2.43.0.429.g432eaa2c6b-goog >>