Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp37422rdb; Thu, 1 Feb 2024 01:00:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQUCXLITeNTP5MCyNI4DwXR9I2YP+LUpVJycRlwY1/E9b+GTkPT3yIxmktTu82gViJBbOs X-Received: by 2002:a17:903:8cd:b0:1d9:4a24:5f4a with SMTP id lk13-20020a17090308cd00b001d94a245f4amr1686705plb.13.1706778052209; Thu, 01 Feb 2024 01:00:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706778052; cv=pass; d=google.com; s=arc-20160816; b=nPQ9+9qpzqvMOy5ro96G4rii7ezFnFlLqGX7O7/3H/TlNojvH1eDjy6/1UthMSxexC AfkvEW3s7F2O7/phCNo+V3QVNNlyP5a/thGVFqa/mjNm+IokTgV160gGulMPYKKDNqa3 s6uLA/D39E5dTs3QArC8N+zHegZUC6WQYfOLc06DvErmOjPkkqg3Cc+4hFV/CBGCY0/F Tx9LQYFmwZ8lrCJrm0DAvLxBSVMjQBGFRbvnlsISLsio5PSrVzvkwzvXvwIvAlbKBCqj HToRUG3ktcxNdBDXblZjOy+gwP9UO+QJkG3IUrzWPB8COp0b43fc+X8KMl7OhYZzWO0H bmQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mEEupIMEH/i7kGo9lESs51Pok88ap/wDkvXExYpqB6c=; fh=gSGujq1KjJb2v8HwSlmVTYo52mAAoCty6utb3WVSFl8=; b=V4g7A7BdSU4i3+w28XJLJ4FhA7tjbSX3ZWyvlzuVk4VZzP2ERP6fCCG/hsDXiJVvvq swpuTX3fd/rmOxCkonHzJyepWyLB4a6a2lsglbX1Npg4N/6sv0L8yvk2n1KJA3jHZu03 UG2pMqiqXPaaCS6DnxwDl/oRyZmwPRcCRVyJfWfrisFGN+Zpuk+MOJ8DZjAwgHxp6gBc 8q5SI+NdCJZHLgxRjfebs2vUioeC9VcdHC5vod4YSRNC3cUpmipyIUbdod/mR+Zc/EYi NIFeGgeIYRhpAwWCOOLr630LqtG1/fOzut9b7WMgf5P77TugxG7vlvuANW8xCzLUHGhH yd/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=nUaY49pE; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-47809-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it X-Forwarded-Encrypted: i=1; AJvYcCVQvEmNenhrBGS+AVviuypgVg8zBeFO4p0i6L/e51cA8W7fSxn7IFZ/LGVmuXJ7CCHlJpnryhDmGT7xdZ2cWmTy06H13MKB9+cwDvZJFA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d17-20020a170903231100b001d8f07fa3desi4659676plh.376.2024.02.01.01.00.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 01:00:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47809-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=nUaY49pE; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-47809-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5BBB1B2324D for ; Thu, 1 Feb 2024 08:52:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9BA9715AAA3; Thu, 1 Feb 2024 08:52:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="nUaY49pE" Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (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 7656715AAAA; Thu, 1 Feb 2024 08:52:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706777543; cv=none; b=LqFboKySz0QJ4+4iKNrJxs6Z32Q5XRb1fDgpKT81T8jZMoMnFA+nMwcNGjLUw5CXhFguDvFUVpSvFlizupUEZM7MzzAhcZqIEFdV5Fc/nFN4CZaA+ZgZHBkv3SuouiYtf2O/9YrNMud8vYBJokbNZiCfdfiyjMkEFabuM4/mLk8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706777543; c=relaxed/simple; bh=qjXRMPTBXgNCfrzVvw0+vXsJAlv2osyQDadESelPs2c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HBfXD+iJRlNr0Q7+a0VHRNqz1U4Hj1WMSH5Y2SnYmJ4GSffQXao4SyKtZHmzMM0ZWGywcV/fepoHb3fSfqS6cLc0QSoAOgj+ePqWwqBTy5ubLRQeY41ztc7qpLsm4XbwlMytuczeeBo7oanadGhWjiUxVCxQDrcDKFitVw2+SDk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=nUaY49pE; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Received: from francesco-nb (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 97D8F21597; Thu, 1 Feb 2024 09:52:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1706777536; bh=mEEupIMEH/i7kGo9lESs51Pok88ap/wDkvXExYpqB6c=; h=From:To:Subject; b=nUaY49pE37chEBYH8+n5sOOBXEAToefJYv9tDDSpOJTacwiuUGfCE0VG5Yz42kycG OJUuTvGqNaAQRd0stbkWc4TS8YlPnlF+hiVS4lGfi1I91xi+Gf2i81ezCU4i8QA/6p AJlSAfRYI61qFgBui+F58Y5KAVDU/VS/q7AO4sNECCvhkG7KY3anQRME19SnzYci+u 49LQMvkDbU49ezszAejG9dKLTFOeUCuDKxeDT8oHPIQMzGZ6XTGKuLy8hWuYeZxL7e Ft1jgoC9EAQ0KugT0/spYIAYFcyIiM14hJs5zvDE73n1aRmUDqZ10u/q7b2uXEFDvt CWaLwovoEMCzw== Date: Thu, 1 Feb 2024 09:52:05 +0100 From: Francesco Dolcini To: Carlos Song Cc: Francesco Dolcini , "broonie@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , dl-linux-imx , "benjamin@bigler.one" , "stefanmoring@gmail.com" , "linux-spi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] spi: imx: fix the burst length at DMA mode and CPU mode Message-ID: <20240201085205.GA3906@francesco-nb> References: <20240131101916.437398-1-carlos.song@nxp.com> <20240131194207.GB12870@francesco-nb> 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=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Feb 01, 2024 at 02:02:36AM +0000, Carlos Song wrote: > > From: Francesco Dolcini > > Add #include given you are using BITS_PER_BYTE > > > I found that has been included in spi-imx.c driver. > And has been included in . > So I didn't add the "#include " on purpose. I think you should be explicit and include this header. Code get refactored all the time and you can prevent issues this way. Francesco