Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp846831lqa; Sun, 28 Apr 2024 07:00:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW1kR+DHDC5cVSBmyBgm//iz8wqm2xUxRCYiw2YXH+m2xRf81CEvmZxbTJBqiUTFanLXA/TrSlYduxQvw9DJHL+k/1wc/b0p7mnWm11TA== X-Google-Smtp-Source: AGHT+IG46qO16uY2XdjwdGUQZ8g/eiSM2UvGe6G0A6XCSOX5RNjQWtM/owAIkMW9tarW9ekHAaYg X-Received: by 2002:a17:90a:ad88:b0:2a5:5a2c:6066 with SMTP id s8-20020a17090aad8800b002a55a2c6066mr4186215pjq.37.1714312802806; Sun, 28 Apr 2024 07:00:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714312802; cv=pass; d=google.com; s=arc-20160816; b=LX87w6YSYI58G//SeZcQFaZHaSr8iHgaAbraRmsKoTaijkxDKucWGasz8lvEGWdwwF zT574wAj3eeyVU2Q+9WrusDqOz4kg6IlQAN0KbCHo0Q0p3fwBuvsKDmLvx0QMFPB6aJr zfMqTThevPH14uoqzK34IstqaKgM9ChkEBfyoK6vfOUmMYYkvnrhQqxQncc54BcebZLC AHI3jDw/YKZvkF2s19rybuppOK9kbfW5YzHuggsL7QmR2CoQHuyqXFHD2mazNa/u5Uqo gPbcwHta/gSkbDfDQGJijAavKGdw5e2xGRkozwbAqnwKn3WixqIbYHP2HS2RyNIMVIO+ TQFw== 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=ZugnSPb4SAW1kpa7qzNAd6wZf57ZPRMniC6Lpv5AqXA=; fh=RPHfcwzTdKnMA8nFDwPnNT9YtJKHxz7fE8DXneA3eLM=; b=vqqkhqs0rCom33C+u5JoFzuSWYznb0apAUvCLRBpnHY+Lq7Cehcgvef0A6z4CqeOFW rS2AUc63BuIpYiqMdezF+tXe4eccsv872UPckB6Q8bAtLP/nzR47/GOpYBhnQVIP7TbF CrEjEs3r3XSRq1aiv9sGgK5GXUWAUEMq7wrGdSEqrvLIOiKESMIGiV5Zbcymuvoa2/Oi hh6zCfCe+W0+Qiqw5eUFmeOE1UG3/vnfDnl0e/HNCYdC+1QZaBN9AmhwA65YUjCyGBFz 6LbWoDFCEJRDOjFN2VoBRWTyJ+YK4GLBeYfQGrDHx/vZefwRTi581t7gVgjT3uX3blKr 7fDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g6WPpEdv; 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-161446-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161446-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fu19-20020a17090ad19300b002a564f14525si19740715pjb.176.2024.04.28.07.00.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 07:00:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161446-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g6WPpEdv; 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-161446-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161446-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6EFED2813C4 for ; Sun, 28 Apr 2024 14:00:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D5156E613; Sun, 28 Apr 2024 13:59:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="g6WPpEdv" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 C049D3E493 for ; Sun, 28 Apr 2024 13:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714312796; cv=none; b=CT1o2/E4z6iQo9nwXdlfAaGQ4C6KnTEIRkTQhNKlIYr6Igks5bN8LbSm/QyIcpMFPfaMm56KbWqVUhS7GsV8ONAquqnha+ahSrJfvFAoZasGBQ7Qn/u1a0q6INelxYe2GAIWdWHLUWK9WQab+mz3rKNEhvAszmNiCKVt34SEX9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714312796; c=relaxed/simple; bh=ifpvloXdEiAtjgG4eP4E91YicSxPPCb+dKd9T99W3/c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=c52oQ6CmXyYGEZtixVk+Rd6ToXtt/4/7+8jEXAv+VgMS28khW9atY1qmeZMIuxahY0wS8Vz8zfiHYqbd5EED4bPYk2BmE4yyPx3HO0BU/Q9TgKd5mzWMs4isokzidfU2i8N7Qovle0l2dWAp5NBH+BQzAbMg5H4u/dkedcaBwew= 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=g6WPpEdv; arc=none smtp.client-ip=209.85.221.49 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-wr1-f49.google.com with SMTP id ffacd0b85a97d-34782453ffdso3490427f8f.1 for ; Sun, 28 Apr 2024 06:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714312793; x=1714917593; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ZugnSPb4SAW1kpa7qzNAd6wZf57ZPRMniC6Lpv5AqXA=; b=g6WPpEdvj7ShLooUPO3L1ZPqZmICGM692Qz4XrnVlMr/vnKP+UqQ4bcJJyEY6IoIsJ Dyyt7sAzeIXfVe4IVVUuyfuiej9JiwRsmS5+UTmgfhuMvsvM02AUsU/xEVucNXwNU+hX H8Twk51qoBaIXhEO7hv+gtUbb5IiKGETzmnk7Up9XTQTtthwAbMxGFzGinAx3ZsLmHvF X4mGay+liVT0la+GC6FSNftjqenUtZj52czoTRZs+v45rTNYBmI+1x8Ma/2RsdD8mjy0 5XF/wL8HksnhseqDTbKP8uVA5K1GrGzR5O1Rfwg4F72HJo3wkAE7KM1u77gFof3Z7HU8 13ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714312793; x=1714917593; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZugnSPb4SAW1kpa7qzNAd6wZf57ZPRMniC6Lpv5AqXA=; b=WmneuYTTHwgo49yHBy58rHd721c5Iy50Oi2AbZNZ+ujgxzld2APeJ51V8F07IZJk6v 7UvVq1oTMrpY4wgMnDBaoST+J546J42jfPrDLgmI85jcBlz7+/wlWbQ7Z+hC+Ja5HuHh EWJDbN1neNnZATR9YtaMHvZCtyuZppAVHXgXCcyuBFy4DxScilv1K78+a//fR2jNcllx R2pm6vvr2241Bp2aKJmVl0AnHb6GEuSEINMjHOqw1ulfDoAYUN6WoPlG6hiZ3H2XFSut NcXYMTo6GvsX3QAsse+F95JGjrEnsQIubn7UPW/BN0EzhMSw9f0SQzEa9RB1nlwd/gNS LHLQ== X-Forwarded-Encrypted: i=1; AJvYcCXuoWcvAf56ev+qPizu9ORU10vgbOxXVjc+jvmXg9HzicDou6Wn9a6BZnRYM18dkR84/6YBNq4iTpjSNddoEkn1oKuspgV/CCQ1bixN X-Gm-Message-State: AOJu0YwIpA3szghTsaGSn34dIw6rzcfNFeLEj6rW2L36y4hfdfoaJ/a7 Qn6bbF2BUoi2XD0XyNtPNGskA9EfmDlHtsGnPVsdPCyywkHqX5YBZ1UXFUxi9ig= X-Received: by 2002:a5d:6306:0:b0:34c:7410:d6c8 with SMTP id i6-20020a5d6306000000b0034c7410d6c8mr5695266wru.49.1714312792901; Sun, 28 Apr 2024 06:59:52 -0700 (PDT) Received: from localhost ([102.222.70.76]) by smtp.gmail.com with ESMTPSA id f7-20020a170906c08700b00a51a80028e8sm12807165ejz.65.2024.04.28.06.59.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 06:59:52 -0700 (PDT) Date: Sun, 28 Apr 2024 16:59:48 +0300 From: Dan Carpenter To: pipishuo <1289151713@qq.com> Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: axis-fifo: fixes alignment should match open parenthesis Message-ID: References: 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 Sun, Apr 28, 2024 at 08:04:34PM +0800, pipishuo wrote: > This patch fixes the checks reported by checkpatch.pl > for alignment should match open parenthesis > > Signed-off-by: pipishuo <1289151713@qq.com> This is your legal name that you use to sign legal documents? Just one word, all lower case? > --- > drivers/staging/axis-fifo/axis-fifo.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c > index c51818c56dd2..04f0e5b45a8b 100644 > --- a/drivers/staging/axis-fifo/axis-fifo.c > +++ b/drivers/staging/axis-fifo/axis-fifo.c > @@ -376,7 +376,7 @@ static ssize_t axis_fifo_read(struct file *f, char __user *buf, > */ > mutex_lock(&fifo->read_lock); > ret = wait_event_interruptible_timeout(fifo->read_queue, > - ioread32(fifo->base_addr + XLLF_RDFO_OFFSET), > + ioread32(fifo->base_addr + XLLF_RDFO_OFFSET), > read_timeout); Checkpatch is just a tool. It's supposed to make the code more readable. Sometimes it makes mistakes and makes the code worse. If it tells you to do something crazy then just ignore it. regards, dan carpenter