From patchwork Thu Dec 1 23:08:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 2507 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp536672wrr; Thu, 1 Dec 2022 15:17:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf7v3Wgp42RMgEyoWYJIyolh4q28cHhBoq0F0qqzZDCMRmKVrN/2WGKW7pFr09JE0hrs2KMY X-Received: by 2002:a17:902:d510:b0:186:b137:4b42 with SMTP id b16-20020a170902d51000b00186b1374b42mr5879291plg.98.1669936653635; Thu, 01 Dec 2022 15:17:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669936653; cv=none; d=google.com; s=arc-20160816; b=TKlX0TJ3Q5ig2oEOICDN9C5Vm/TQTj8MjYMYN1GgcTBmgvQTZbfjxnen86dktw2XYe PftIoyJXeM1yA0RGHSL71yi12/BJRyjBkn7fLPIy+jVHReAd29jX+K9jWK03WA8BC1sl oVZRoWSAZTHTftLL8zviI/k3NuSB3zJA1g3mYlyAiV/V1ZrOXzOb1Z9xrPzNhUmJPLq4 5mQ8xhRCBWVB0m6ez4QLopX5wW8UB1HX3N25+h3MNToQvqwdOyvSy1c5B4OTzIo5cR9c HwpGZRfzxWD1+CDeunD9EjnsE6rjWPF+6qHsq5ro70GMV5Jn5yah8Bod+2uwZjL+LIyV pQ6g== 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=4JvfJWU7+uq7jrpATovd2AsryJuPNwIs+V/5GzjE+z8=; b=bE1f0oljpn7NEFSH7o3QBYnrfpWinnn6Cqk7qQ+PS7sxGRTpIqcJVV93jojI03pQlf mobICVr0cGpEJUBw+dap2NtJWPNwcpnEgU/JCC1Qpcf7B5GZKeI9xdspOAZ797O0PGTU Ak/1xY7kX1j62RA9YZEPUnW//1PSbPHH3Rxq5SPF/Spx5gtpKZm3hgr1uVNoqqYO8JJo m8Gz968eCagb01mCNWt8b1A4DtLzY08YaWzgzmqUnF+qk3w01pxDww2icEcaoa5pLyXS SRlXoxDnVko1YwpoGv482dVYQsavL+wJ15353cncxYMqTimTIQwJ1Sn/IvuvqfeImWtw MCxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Hl1FmKGj; 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=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l190-20020a6388c7000000b0046aeabd6548si5782224pgd.104.2022.12.01.15.17.19; Thu, 01 Dec 2022 15:17:33 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=Hl1FmKGj; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231205AbiLAXJc (ORCPT + 99 others); Thu, 1 Dec 2022 18:09:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230331AbiLAXJ1 (ORCPT ); Thu, 1 Dec 2022 18:09:27 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 700C793801 for ; Thu, 1 Dec 2022 15:08:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669936113; 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; bh=4JvfJWU7+uq7jrpATovd2AsryJuPNwIs+V/5GzjE+z8=; b=Hl1FmKGjn7bLR58i1TR/e+DgV7GR/Ln1FPyWoyuUhRqF2ohzIXnE7IsecQkCr45I7OPncQ uR93aCjIiL0SIRJHIXpmNPrVeGEdYGArXim/SWPZW/FtE1yVB2VRz5M1KhnG8ianuHV0cI sRIQmloarvaB4lfMuphRXAG3N4EglGY= Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-391-4lQRWddBPpaBll7vzZVqXg-1; Thu, 01 Dec 2022 18:08:32 -0500 X-MC-Unique: 4lQRWddBPpaBll7vzZVqXg-1 Received: by mail-ot1-f69.google.com with SMTP id l31-20020a9d1b22000000b0066c48e9249fso1481374otl.5 for ; Thu, 01 Dec 2022 15:08:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=4JvfJWU7+uq7jrpATovd2AsryJuPNwIs+V/5GzjE+z8=; b=vWv7Fx0R3C8AFo04MLZ9EBFF5pmeQnbC4RbDIE/YiQPXDBG0ww4nfhDouO4p/MjJzC 8E5hVOCNrYC308Bz/AOJIOmmurrMjbh+GjmmfjmGyJ/yDY9TURpBNEq0iE16ZBqUJysW usU29Ep6lAfkq1QwkopJZmJPy0cbQLXk+JE16iGy5EtEhqY8wAVJFw7+f2kqgQRBobdK X0dfPl1wgNiYHOwUw7txnEBCmLPd2NLmc7ih37SKJEjXI3YLmIofepPlvspTjagtEMfv 69wOV5FJArvnuTD+xtwhED0xEd+etikoLsuW6qd0auo8BIjX623NVbrfLRKid104Cm07 9otA== X-Gm-Message-State: ANoB5pn54pbGB9NwojDRLL2rt+rv55dUakUNAXNWh3IAxpIagCTi8XN6 2k8o59O9d1Eh4DFuypxrR+yEs3oyaPZzEdDJNWbhwhiM26FgAHw45slDMu5NztdA6Mp6w3Wq6pK vQ0Wauvl1nMKZ947AtY30ScI1 X-Received: by 2002:a05:6870:738f:b0:143:995e:807b with SMTP id z15-20020a056870738f00b00143995e807bmr14586262oam.160.1669936111498; Thu, 01 Dec 2022 15:08:31 -0800 (PST) X-Received: by 2002:a05:6870:738f:b0:143:995e:807b with SMTP id z15-20020a056870738f00b00143995e807bmr14586242oam.160.1669936111243; Thu, 01 Dec 2022 15:08:31 -0800 (PST) Received: from halaney-x13s.redhat.com ([2600:1700:1ff0:d0e0::41]) by smtp.gmail.com with ESMTPSA id y22-20020a4ade16000000b0049fb2a96de4sm2320393oot.0.2022.12.01.15.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 15:08:30 -0800 (PST) From: Andrew Halaney To: andersson@kernel.org Cc: agross@kernel.org, konrad.dybcio@linaro.org, jejb@linux.ibm.com, martin.petersen@oracle.com, p.zabel@pengutronix.de, linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, manivannan.sadhasivam@linaro.org, Andrew Halaney Subject: [PATCH 0/4] scsi: ufs: ufs-qcom: Debug clean ups Date: Thu, 1 Dec 2022 17:08:06 -0600 Message-Id: <20221201230810.1019834-1-ahalaney@redhat.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751055496330018110?= X-GMAIL-MSGID: =?utf-8?q?1751055496330018110?= This patch series attempts to clean up some debug code paths in the ufs-qcom driver. Andrew Halaney (4): scsi: ufs: ufs-qcom: Drop unnecessary NULL checks scsi: ufs: ufs-qcom: Clean up dbg_register_dump scsi: ufs: ufs-qcom: Remove usage of dbg_print_en scsi: ufs: ufs-qcom: Use dev_err() where possible drivers/ufs/host/ufs-qcom.c | 135 +++++++++++++----------------------- drivers/ufs/host/ufs-qcom.h | 11 --- 2 files changed, 48 insertions(+), 98 deletions(-) Reviewed-by: Asutosh Das