Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp151513rwb; Tue, 25 Jul 2023 13:28:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlFryMi+iou5uZ2WI4XDoNw97bsfOwnUW6Jbj1MKFpVQmST133Jnkis7s4/dmstiTmxE73Sw X-Received: by 2002:a17:907:2cee:b0:994:56db:cb8d with SMTP id hz14-20020a1709072cee00b0099456dbcb8dmr13983640ejc.14.1690316935085; Tue, 25 Jul 2023 13:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690316935; cv=none; d=google.com; s=arc-20160816; b=djQ3unXhlRuKJ9xe2Y3+GDfT8E056c16lUmX9WPRrd8rREcHJGutYMX7Q+9su2CGil ESWbMKWXRfcxKPm2JlGx+zGe8mlLeyvCtpS8hvSNL+1DQ2bL2TIaW2sDvsJY4OZiybPA tnrA/Nsnv4MZor7NLQNVWZ/+DJlroVYMp/coyCsQiHz1kIcBS+v71XotxKphQmSm2ycy 8hvRv9CI9saVo4BO2hiDQL4UWh6A3YtEnTs6R/2ft7Nn3Nf3ia7/ZhKZR/hLxZxWD19d lRP6SAQ9l0DkCD+YHOX/vHAQv5zosrTtaeyH7CPSt8WEnwYpIIaofKvVG+UiRHeLlbUe mcdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=qmDViLCRyHl/N/tg3JfeM78/5jvGUYwvAl/GxQs6m9g=; fh=YjOe1KPk0ZDinZXdNUf8B+gDTsl6Bgp1IGmvrtBgL6Q=; b=cHibV0nKsqil3rrPB+8grWjB0b1w9iJwbzcf188K8A1Xx4B065z/TOMmlSY0aNbUW1 3EeTwG2oikJP6vAdqaE6ot/p40kPtkuE7XoCsOgBuBFFefZt1XBLZP42jK/dY5heT/ex G5FIzjo0DTx8YWiVKEIbTH8roopEJ76qD6fJt2Zse6B4Ujfx3D+hm7rtbIkD39HUNGpK qKjYxyzTH98k1/Y5UkNHVemZFPfSHUYuunrTmH5UwU2TQUAgJ2EzZeUEej36uckOWpL1 zuHTjHtq9mKoWvkamwxwJ/+AP3RdvmEov4U1h7SC9p98qamyr5+Q0b20TBdJTRxGgxiN GFnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=PVsbjHPB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qq17-20020a17090720d100b0098df03ffa69si8014935ejb.421.2023.07.25.13.28.31; Tue, 25 Jul 2023 13:28:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=PVsbjHPB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbjGYTnv (ORCPT + 99 others); Tue, 25 Jul 2023 15:43:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjGYTnu (ORCPT ); Tue, 25 Jul 2023 15:43:50 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F1081FF5; Tue, 25 Jul 2023 12:43:49 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1bb775625e2so1489415ad.1; Tue, 25 Jul 2023 12:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690314228; x=1690919028; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qmDViLCRyHl/N/tg3JfeM78/5jvGUYwvAl/GxQs6m9g=; b=PVsbjHPBcn1yrgJtZoqGaQexpIl2NOm3dGF5HDWjJFFCp6izrIlWjZxk3k9ABTg/gk OTELwpMcumAZlm+K+S3Cm9ycQclgeWkWwbU33/1/lDK8gLemjU5X1Ij+GvHU8LBJuRz1 iaiOaG3gRLgMVwy/DbmyYpoWcKqmcUCM/N/JCZNnfQ7oLrpGJwD6TisSsZEF9C69HRCS P/VVH28ofHSNitytYID8+ZVfFqLWyKTudqV0oTGIbjNsL5mj+QwoY3vos9iSG7yQwArR lY8ADN8vtjltEufcZ/cqzuCUylSDWDyI75aTTj8ZBSc7H+mFxVvHouLYkTAy25qcMojh pn9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690314228; x=1690919028; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qmDViLCRyHl/N/tg3JfeM78/5jvGUYwvAl/GxQs6m9g=; b=QRtq1R9HhY/exfVvh5FBzw/CJezNk4fuDqui2cpUI7JolGDcFk/6PhoMqThFWouFrz OmR3eBTg9KAN8085doNAanDIFA1MDMn5xO0X6JMf64eFMSdmyjjlu6q519mfMo4V4ez8 ZGjNud1NExnVgGyY2OdxaYicUrGWzZgFyyXaV0bQaRKi6+Fg23AXlzt8gh6U0CFjuZC+ cDBmet0g2Y940zL9GxgrUXF/YnjTIiLwtp0RukeVZ/QvW3LBG1Q2XNcsylv4GkWoAUWX YSwaYtOAEKNvQ8S7lVfX1MZhNz1eLu5nCjZA11GO7eOvt9oFhKmRfCdz3O4YWeFTUuQP OLbA== X-Gm-Message-State: ABy/qLZERkurueVeXhoieXCExw+rMOelGz+ffCYeHS/zngVyS9NeFgcU ppurRS58Flzl/tyZmj7E+bOEKHyi+94= X-Received: by 2002:a17:902:e545:b0:1b7:f64b:379b with SMTP id n5-20020a170902e54500b001b7f64b379bmr64248plf.17.1690314228278; Tue, 25 Jul 2023 12:43:48 -0700 (PDT) Received: from cxl-test.. ([103.181.222.211]) by smtp.gmail.com with ESMTPSA id u13-20020a170902e80d00b001b87d3e845bsm11503262plg.149.2023.07.25.12.43.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 12:43:47 -0700 (PDT) From: Raghu Halharvi To: linux-cxl@vger.kernel.org, Alison Schofield , raghuhack78@gmail.com, ira.weiny@intel.com, bwidawsk@kernel.org, dan.j.williams@intel.com, vishal.l.verma@intel.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH RESEND v6 0/2] Fixing check patch styling issues Date: Tue, 25 Jul 2023 19:43:39 +0000 Message-Id: <20230725194339.1694-1-raghuhack78@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 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_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 v6 changes: - The v5 was approved was not committed, submitting both patches(v6) addressing styling issues in cxl/mbox.c and cxl/region.c after rebasing with latest source. The changes remain same except the function in which redundant dev_err() was present has been renamed to cxl_memdev_state_create. (Alison/Ira) v5 changes: - Updated the missing reviewed tag in "cxl/mbox: Remove redundant dev_err() after failed mem alloc" patch (Dave Jiang) v4 changes: - Updated the respective patches with reviewers tags for respective patches(Dave Jiang) v3 changes: - Update the cover letter and commit message with full author name(Fabio/Alison) - Correct the "typo error" in commit message(Fabio) v2 changes: Thanks Alison, Ira for your comments, modified the v1 patches as suggested. Dropped the patch containing tab changes in port.c v1 cover letter: The following patches are cleanup or fixing the styling issues found using checkpatch In cxl/core/mbox.c, in case of null check failure, returning errno or -ENOMEM in this case is good enough, removing the redundant dev_err message. In cxl/core/region.c, the else is not required after the return statement, cleaned it up. Verified the build and sanity by booting the guest VM using the freshly built components. Raghu Halharvi (2): cxl/mbox: Remove redundant dev_err() after failed mem alloc cxl/region: Remove else after return statement drivers/cxl/core/mbox.c | 4 +--- drivers/cxl/core/region.c | 8 ++++---- 2 files changed, 5 insertions(+), 7 deletions(-) -- 2.39.2