Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp283857rdg; Thu, 12 Oct 2023 05:49:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZpzOmggpmIajVDFHL2p/t8SmaDf5qTkqSKFeSERaoaBmLiLrmpFkUrT3460t25L9XgJrZ X-Received: by 2002:a05:6a20:914b:b0:158:7fdf:66df with SMTP id x11-20020a056a20914b00b001587fdf66dfmr30052491pzc.18.1697114968418; Thu, 12 Oct 2023 05:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697114968; cv=none; d=google.com; s=arc-20160816; b=QKarkN+V84ZViWeDD9QCJoeJGLRk9EArc5r8lBog1T9ccekmLFyOQXTspL7BQsZo2r Utllj/POrm7ijWRa0Ll3pUEg03C5iaMNKVw19zFrpMUvuJ0ukRA6J9Cr1qyLfzjI3FKH 0kshyqbdC0PuRgj9sxXwmdyZxmFOrtZp/CUhV3Pu8GDr8FoE3K/pdtpkyNWYxr3rTiS/ i48SOq1UvuAaJnxnpBIusgH+esFvT0x4xFdFNTSqkQirTseDxnNUGSzYVZot1OKknFvP scHicBCHssvTvYZ7N6NiCWbP12ieqDZdLsyy1kC4qh0FIopvRKbWf6CIffzhIiwiSyUB yTCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=A9R2WJP31ISTqDLxCcJ16Ck5qYaEM4fVytKo7WW22eI=; fh=rvn+I19Lb5x78HxWUHY1KHbBA5kz3VFGX5pGwOLU0m0=; b=GNQIRTb7KiXDODmfCtvHz+KB/CFOd/RauMg2QWE8mbU/EwToPf6ICNjzdMk9fZSNXS Q5xLkcomXGgmt//R2HswtU4NErLc2WDCugOoG1/+rk9ZxOaHS5ZNFyUyxA4b5+yROL4w x2NnDmuVi1BBFghboV3g5IkNfet7XhQIxbxiTVSJ5nwv6cBa0GlKcipCln1paMF6OqRJ xrtC+PI020kZTauTlCoGgDsxQOdYtZ5NWUekzhahGZOUGoDQZwAAhvBpSND/hurLXN0A yVqeD8gZy4bqHd/r6vUW1E986ho2Ie0HoCfdIjZLWio3Dw+trZC3VEAVfliduPkvOQcZ dUMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eobQCB5j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id s8-20020a17090ad48800b0026376acd6fesi2203256pju.22.2023.10.12.05.49.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 05:49:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eobQCB5j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4DCE7822CF9D; Thu, 12 Oct 2023 05:49:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343943AbjJLMtZ (ORCPT + 99 others); Thu, 12 Oct 2023 08:49:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343872AbjJLMtY (ORCPT ); Thu, 12 Oct 2023 08:49:24 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EAF8B8 for ; Thu, 12 Oct 2023 05:49:22 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1c9b7c234a7so8037165ad.3 for ; Thu, 12 Oct 2023 05:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697114961; x=1697719761; darn=vger.kernel.org; h=user-agent: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=A9R2WJP31ISTqDLxCcJ16Ck5qYaEM4fVytKo7WW22eI=; b=eobQCB5jk0WaCKYFCy1jZ4BxHnzyIDzuqblDXHrhya22GhQDgTOmm2WSCbBj2UsCrZ 1gr/2ZXi/13eLTfs5rWmgh7NANbIy8A/Y708zMm+EZds7YesZkYyue66Sew0L3Tk/aqx c3WS0sorhhWemayS7MRPDBE+FwdRm4BEdpWkRYH6mkOF5ASeA9R+9xgwXljX8uXhRAL6 ex3oqdHunirBZiLoCX+2bgyGJbWysX/cCskoo8WUYuk6RUy63XOe9seNx3SGnZqLQOAS sMdOHYxlbC1823Luj0FdYaveiq+CxSaDKCLUu+S2J36FXrZDF3nozAYwWZ0H/FSIV+2F TS+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697114961; x=1697719761; h=user-agent: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=A9R2WJP31ISTqDLxCcJ16Ck5qYaEM4fVytKo7WW22eI=; b=jE3lUrJuhvF4oOofuJc5t0PcGrOIf7adIhE2gJ9DAp2z0dZdhcB6F2O/2P0u+VFP2c /Dl1+8AWwBHQSHrYL+kg/mH8KSgLVtq/fZmdencP9J5aBeP8z0J/iMQBnDr/uVTXJHhs X4rjzY+SeUEweLvssmY7cOLJudG/zKXq7leWGdiJZnmw5G0GmTjNu+2Wz0AfpJgHRe1E f48T3VqPCfxe/Oh+SZUC2eALoMzNLSVpubP817TORWADHRFybXDwFw4uqQ/hanJeMQDr OcOMpjUESQwgzrV11QsHmREFh5MevMX4+/O6BssfcRWw+44foSMwUdZTnTkueQydHmiN uXQA== X-Gm-Message-State: AOJu0Yxc6Gaiz3cC/gnnWhx3DSVCOgxBsSvAUcK0a7a5hRE5m+59DMPA DV0b8n6aw+4xb/lWLkTnw70qlMExIHxBfQ== X-Received: by 2002:a17:902:e54a:b0:1c6:2dbb:e5fa with SMTP id n10-20020a170902e54a00b001c62dbbe5famr30705556plf.44.1697114961599; Thu, 12 Oct 2023 05:49:21 -0700 (PDT) Received: from Negi (2603-8000-b93d-20a0-2184-6fa4-0d39-1c6b.res6.spectrum.com. [2603:8000:b93d:20a0:2184:6fa4:d39:1c6b]) by smtp.gmail.com with ESMTPSA id ij6-20020a170902ab4600b001c0c79b386esm1925771plb.95.2023.10.12.05.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 05:49:21 -0700 (PDT) Date: Thu, 12 Oct 2023 05:49:20 -0700 From: Soumya Negi To: Julia Lawall Cc: Dan Carpenter , Greg Kroah-Hartman , Micky Ching , outreachy@lists.linux.dev, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rts5208: Parenthesize macro arguments Message-ID: <20231012124920.GA7107@Negi> References: <20231012050240.20378-1-soumya.negi97@gmail.com> <81d6e283-fd87-4fd6-964f-22cbf420cdaa@kadam.mountain> <20231012074837.GE16374@Negi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 12 Oct 2023 05:49:27 -0700 (PDT) Hi Julia, On Thu, Oct 12, 2023 at 09:51:27AM +0200, Julia Lawall wrote: > > > On Thu, 12 Oct 2023, Soumya Negi wrote: > > > Hi Dan, > > > For these ones, the name is too generic. probably the right thing is > > > to just get rid of them completely and call spin_lock/unlock_irq() > > > directly. > > > > I understand that there should be 2 different patches, one for the > > macro-to-function rewrites & one for replacing the scsi lock/unlock macros with > > direct spinlock calls. But, should these be in a patchset(they are vaguely > > related since the patches together would get rid of the checkpatch warnings)? > > I'm not sure. > > Patch set, since they affect the same file. Otherwise, Greg doesn't know > in what order to apply them. Thank you for explaining each point. I'm sending over the patch set for review in a new email thread. - Soumya > julia