Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5844110rwi; Tue, 18 Oct 2022 05:05:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4GL5QVgsnL3f21V+dUU7HyOgXvpy53MWMs51QcKMD/sHTzg2q8IKbR6i4K23aFmcMm6iku X-Received: by 2002:a63:5d18:0:b0:462:f77b:cd29 with SMTP id r24-20020a635d18000000b00462f77bcd29mr2398798pgb.9.1666094706273; Tue, 18 Oct 2022 05:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666094706; cv=none; d=google.com; s=arc-20160816; b=watf0lvAE1Itnv/yl8bXk+WMi2Jjvps1Z5ZPgOlVOa3O+RqvbIIrWkWcKM8t6eThI3 wVKfxsjgluYnHz8drPOHU99uNgF7cfOBcZops4FgB8q5B68BuY/Fj8bVtF8itfmdDzF7 t9GAVfw4//cqGJQ6xJBNh/6xyS/wfIim8iLeiN6fIAjo/0SjzXxjVNlrF6fy5pYpisND GQMizxbkQNjT78pT6HRhgUDINNFeki7M0mcY7Cq7AmaRMcreePwmDS6eMbqNT53AFLZc dAYIOHq8AKF9Q/2eDeHmngLS4MciBMZqym7I6tqUEauxSXDCEeAenkTM/4Z9JKnp85Ah 8dmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=zvxU4ugiDB9i9W3RROc9iPCBryTiL0PvkD1UBcy4cHI=; b=uI+GYNgTLMi9h9Ytm6GaI1TriAYiK1IEBnq6Sjc3BCK3W1dCj15uNLlw+z8SyK3vbb s9if4c1PCn9/4mmeE9eY7MOIpvv3pav+iFLkqFldI8LhGM2ms3yOVJAZG+SBC8WoTy9P bJtVNs0vLOT5IWOg95SS5iZU9SZhXKxw5xeWgGLVnLZhS3koslU1W50HR/HsL7zFZFtZ cX/x8oaWHdJRPsE/oKW00L2hkjA2zPYK51cvaHiB/hduE6pl7qrLUmLWHfaA0MfBtevk OeMCNWMUr4oc7Cff2Z1C1NWZIZ0bB8k6gSoDokWLLu6NTG3AVir+BztCFBy4PsjJyGPC LmhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iPn87NIh; 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 q2-20020a631f42000000b00462f77bcd1esi15041694pgm.90.2022.10.18.05.04.29; Tue, 18 Oct 2022 05:05:06 -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=20210112 header.b=iPn87NIh; 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 S230355AbiJRMDO (ORCPT + 99 others); Tue, 18 Oct 2022 08:03:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbiJRMCp (ORCPT ); Tue, 18 Oct 2022 08:02:45 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA1F7BEAEB for ; Tue, 18 Oct 2022 05:01:56 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id h8so17568848lja.11 for ; Tue, 18 Oct 2022 05:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=zvxU4ugiDB9i9W3RROc9iPCBryTiL0PvkD1UBcy4cHI=; b=iPn87NIhldfLkfiaF6SVQJAWDZTTh1bIweq0mv6fPPctMfPkKYDf4aX/g3NRSj3y5p MjCHUkeZun1xUI1L87J+qSiuiKR21im4D850OkgMboXJBHVB9Zr4qwYqGngKK9CkRe+W jicTpMgaIOjXxNngXj3B4aBfNit05i65sCt6E0BWrMmybzgDZAfaCWKTDESlKWxYt+QA VuVKd1qaqhYz/ey75LSVp60emL/kivRkxumMR/lqWKrB+5anzxwEyIPC0KpNwwCRF/cQ XKRIiCM8+cJx9DbEBCGOZQcQUgkOF2pP7M+iWrNQdDEtlIsi1QLzYrJKcrp9p/EnKApJ uZpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zvxU4ugiDB9i9W3RROc9iPCBryTiL0PvkD1UBcy4cHI=; b=4ni8zimerYHhzZ9cHXVQSik6poHnSGy2UV/zpMkmkvlDBsQrdretlg+CDpEk7JyBCS wsgDHDra9pHczrI4XekbhQRpIzFEkDinilBYovT9OdQypnBIgamfMnN8m3TZnPKuu6NI Yu0CQzpeLWiDqtS+VltkOBYqslw9aHN2eZKr0lSMnJUdMd9hOU/iM8+IjAInyTDdgl8C YnNt5Nabo6Sg5gxNxW3byDlqGGuHrNUed7KI6GPsLYK7yMQTMYelnD6lR+2JtfbroZon m577H6R6Fefm6fVr1hps6TskYDN+Sx92NjNNz9SQUvgXqzw3sKRSg7ujWsseljJz+cM2 dL8Q== X-Gm-Message-State: ACrzQf0037KzBDF1w3y7FCYmtfwsq77qsEL+LaejPk5cedwzIlj1Y/nE w7y3Z+cBGU5DxH9rM97brHO38Q3YNs7sSHUs X-Received: by 2002:a2e:a7ce:0:b0:26f:dd59:7762 with SMTP id x14-20020a2ea7ce000000b0026fdd597762mr960516ljp.476.1666094515168; Tue, 18 Oct 2022 05:01:55 -0700 (PDT) Received: from elroy-temp-vm ([20.240.130.248]) by smtp.gmail.com with ESMTPSA id j14-20020a2e6e0e000000b0026dee5476d5sm1929851ljc.113.2022.10.18.05.01.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 05:01:54 -0700 (PDT) Date: Tue, 18 Oct 2022 12:01:54 +0000 From: Tanjuate Brunostar To: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: [PATCH v2] staging: rts5208: split long line of code Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Fix checkpatch warning by splitting up a long line of code, improving code readability Signed-off-by: Tanjuate Brunostar --- v2: Reorganized the line of code by splitting it where it does not break the parenthesis as recommended by Julia Lawall drivers/staging/rts5208/sd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c index 4643127a87ca..74c4f476b3a4 100644 --- a/drivers/staging/rts5208/sd.c +++ b/drivers/staging/rts5208/sd.c @@ -4505,7 +4505,8 @@ int sd_execute_write_data(struct scsi_cmnd *srb, struct rtsx_chip *chip) if (CHK_SD(sd_card)) { retval = reset_sd(chip); if (retval != STATUS_SUCCESS) { - sd_card->sd_lock_status &= ~(SD_UNLOCK_POW_ON | SD_SDR_RST); + sd_card->sd_lock_status &= + ~(SD_UNLOCK_POW_ON | SD_SDR_RST); goto sd_execute_write_cmd_failed; } } -- 2.34.1