Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp176838lqe; Wed, 27 Mar 2024 02:27:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWl8sVxLjRRh9iOObUc9fZYJio3tpCH1Of4ejPBk/vtyrIXmkB/OxGT3zaT75MinA0Ve6I4yJoNOxbgoFFZJSz881MkpylNgdUcYqO4Bg== X-Google-Smtp-Source: AGHT+IEIkMrgVwqucFcK2c77CI5P/fyUs+660X3agaD/DLpbNz2MVIyWqKg9RpGwLGLQDggtLj6U X-Received: by 2002:a05:620a:46ab:b0:78a:730d:dbcf with SMTP id bq43-20020a05620a46ab00b0078a730ddbcfmr385015qkb.8.1711531636933; Wed, 27 Mar 2024 02:27:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711531636; cv=pass; d=google.com; s=arc-20160816; b=jD1NoMkXVr2sKwn+jz+FbLgJGpLcN4u/UP1aJVJdvycF9SGAuZO8fueJyLWwMQk9b2 LKAPjeSSjudBB4Q1E+Xw2KLCM4DdbTxBnbJrtXFRWQdF/4mwAFiJnEHH3OP5MKjwiFxi csdrhbHENFawOPAz3YusVX4I0TWG9FTzSy4w9foOs0kfwk7uYOgh1aphudzvFSZm0PFL xc5PQgtvOmgkuek8aXJTjsmIjFwGC/L/6ZSdeghzukD8J3q5j5E/6zcpvo+1jIDDVvjJ tTZEboYBh9TxwYJmmvP7zDdm6ayeXJkCeYxXfb4b2q0GboYrdkS1MusuznCCH33MEzwB IW0Q== 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:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=gBZ95QSP2wsKLmcn+oVbHDmh05vYkTHYdEqXpltlLSE=; fh=TCpjzG9lmwQwqkuPyPglGZ6VcMtBzOIpDUgQJ3Dn0H4=; b=gK8ydzmubQr6WwpBbc30w6e+moJglqTehCW2Jojz4yO1+yLaz9qCVsWavoXilsRBCn SsY2H2PHP4pc+8DzijPLuG6awy0ygkEx/XNlvR+p2vHP9Iy8V8DBOui7DQ9CEHD13Uk8 zGZcgZN0juqWtfICHXlnL/WuRbZZQaP9FsKb4Oprso6/5oLsNK23mplO5/WtTGZyl+Pw Ik12rius+UcvsPlUi/l7+VsSHk95VYIsZjVRVMDC28HXkQjHi5W5wjb8ob+Cgnj12hBx 5H913Lo+PgtKevEExMlzZLmqlkHfQoX6ntdMK/603THI71jjemUges/qPOu53LuvdgNh J3ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="k0d/mjjO"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-120612-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120612-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i12-20020a05620a0a0c00b0078a3d668aa2si9198950qka.79.2024.03.27.02.27.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 02:27:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120612-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=@bootlin.com header.s=gm1 header.b="k0d/mjjO"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-120612-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120612-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 930AB1C23266 for ; Wed, 27 Mar 2024 09:27:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87209381CF; Wed, 27 Mar 2024 09:27:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="k0d/mjjO" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 2587D524A; Wed, 27 Mar 2024 09:27:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711531628; cv=none; b=dZVGxCsOlH+PkExhm6G9iyuDUQuGFJgvyCX2edvPjPqG+pmtMpAUkH0tF5V2HPS7bqyH/5kuBWcZ/yw5lzXlXjh8ZQJIqIB9Ft9bggzvqFQMm3nR0KUB6HikXUYtZuAl0Db48ibRLfSk9C5gqz231PFCjF3j8MjuLxuK+IHjCxk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711531628; c=relaxed/simple; bh=j37voNZzccelPBdTNf/Vqpsl2iNeg+OarLn6oh5pO5A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=P/0TeVFZ2mDEwtzpjUgS8Kb9cNoHdHKT/sE5qSTg3t3dLKCefRd0LW4b6Tx9dgnJy3BDaJcJMelWgsSst7WEr4Gzjfp+OFcC8OAlv+pTV9FwNiBzFxJifv1NkrYQOk1KwPEyZRcDRi2AdcpwwSHge8KQ9JCjAiurz6yfC9eIOAg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=k0d/mjjO; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 1C621FF808; Wed, 27 Mar 2024 09:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1711531624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gBZ95QSP2wsKLmcn+oVbHDmh05vYkTHYdEqXpltlLSE=; b=k0d/mjjOMO9kNMNbmnu76h7tBCsoIjm1rY2r0VNndhg9+ghy5tBUMuxotdb4Co8D7kaWOj hFgxZ7FhT5Io5QGjSN0+FVnJAXAgu/cPo8WS4GqrLru9HjO/TiteGOTBkgqMfcLD6rMn0t S86MkyJbKsLERwNsxMHgKJ7xnFrA5u1/GXKq3Z5riAsHwmfyPuXxA93+vhVmArtYgl8uR8 N39jDu8IUNOvRwTu7FPtmWXEWJXT/YRjWwvBJLbBDtQJxPaGXBTakBelJK0uj/TPx0iuez c1/LX6WbmV4jsHEwSu8IO0+G0E7KLpb0B0O+o/3XdRbh3qcHPtzv5ORv3EjeHg== Date: Wed, 27 Mar 2024 10:27:02 +0100 From: Louis Chauvet To: Mark Brown Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Miquel Raynal , yen-mei.goh@keysight.com, koon-kee.lie@keysight.com, jeremie.dautheribes@bootlin.com Subject: Re: [PATCH v2 2/3] spi: omap2-mcspi: Add support for MULTI-mode Message-ID: Mail-Followup-To: Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Miquel Raynal , yen-mei.goh@keysight.com, koon-kee.lie@keysight.com, jeremie.dautheribes@bootlin.com References: <20240223-spi-omap2-mcspi-multi-mode-v2-0-afe94476b9c3@bootlin.com> <20240223-spi-omap2-mcspi-multi-mode-v2-2-afe94476b9c3@bootlin.com> <8e5f3551-75c5-4211-84f6-18bbaf061dfb@sirena.org.uk> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8e5f3551-75c5-4211-84f6-18bbaf061dfb@sirena.org.uk> X-GND-Sasl: louis.chauvet@bootlin.com Le 25/03/24 - 14:05, Mark Brown a écrit : > On Fri, Feb 23, 2024 at 10:32:12AM +0100, Louis Chauvet wrote: > > Introduce support for MULTI-mode in the OMAP2 MCSPI driver. Currently, the > > driver always uses SINGLE mode to handle the chip select (CS). With this > > enhancement, MULTI-mode is enabled for specific messages, allowing for a > > shorter delay between CS enable and the message (some FPGA devices are > > sensitive to this delay). > > This breaks an allmodconfig build: > > /build/stage/linux/drivers/spi/spi-omap2-mcspi.c: In function ‘omap2_mcspi_prepare_message’: > /build/stage/linux/drivers/spi/spi-omap2-mcspi.c:1280:17: error: "/*" within comment [-Werror=comment] > 1280 | /* > | > /build/stage/linux/drivers/spi/spi-omap2-mcspi.c:1265:14: error: unused variable ‘word_delay_is_zero’ [-Werror=unused-variable] > 1265 | bool word_delay_is_zero; > | ^~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors Hi Mark, I missed this, sorry. I've just sent a v3 [1] without those errors. Thanks, Louis Chauvet [1]: https://lore.kernel.org/all/20240327-spi-omap2-mcspi-multi-mode-v3-0-c4ac329dd5a2@bootlin.com/ -- Louis Chauvet, Bootlin Embedded Linux and Kernel engineering https://bootlin.com