Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp177899rwl; Wed, 9 Aug 2023 12:51:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEyG2Xz9LwH9p5mbXnR6LhOZj5uUvR/PIZoD8enJWyDCl5tUCEMiXHFSiYWOTNTqxQju+rI X-Received: by 2002:aa7:d0ca:0:b0:523:197c:36e0 with SMTP id u10-20020aa7d0ca000000b00523197c36e0mr182078edo.19.1691610672551; Wed, 09 Aug 2023 12:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691610672; cv=none; d=google.com; s=arc-20160816; b=RKc+H8IsJitqWlavAUEmPQaH4BEKs+Zx/5r4m7rv7d6yH1k9MQWvZGh3scKf7cFAqT mPxIkCN5Sh9DTwQenXzUJ+SUMRy4FAIzQE1KOuvXEf2iUO1m9SLXYFMljXjr09rZa78I zSQ/vjlkWjbhWECzZE87TjPbdIXPJMbXB5tLHi1unf6Ua3AtCD2xm8OT2hk3GsbczMmv JD/GTeH3zi3lQZZDBw7T1w3KEvufSyXk/ZkUARzMQinaGLaSUa94/uSiwyifAM7Tc9lu Ndwb4zR3aAGxyT5UiBmnCj3QNOM8jfJER8ZYw/0z5rOUnBchhxYIvCv0r5DopiyzG578 Tjdw== 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=idN6k6wnvIRmPVarrYDUY5WM1/+zqey5Stp1+3/1nn8=; fh=hc5e8cLPeOSIpxJU4j4YYXOIXP2caYxrHNMZJhjGPQQ=; b=kdSFiHvw7l3tSVgMtA6UhDVmNzHHO9u9KCQODcqoozIPgpMV6Gbdf200Hri8xb11va v/1yaIxalCMgBXjyyV5R+S/AGsrxYAfLfibgIOXq44oUMGqiEWqXwQ9ARmh1lVIbxcHa lIX9TmsJF8X04WmdfYnaT3QJgYZLKraFYUUn4YXadbnf6VfhefsjEqA6lhEJ12hj0mw7 xEUtYasKHIerce1VYQhpz3My8BxE4kzIYHhb+WRjg4w8rTgPSamlNSmqhjZf/XDe1lsn 1iYxPrJn3qytuwI6eMD5/VqaT7dfndMLGvsN/mzEkpU2aERA0rY/TEUxulsVYjdNnPvz p2jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BZjmC1w7; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s12-20020aa7c54c000000b005233f7e72e2si4127355edr.391.2023.08.09.12.50.45; Wed, 09 Aug 2023 12:51:12 -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=@redhat.com header.s=mimecast20190719 header.b=BZjmC1w7; 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 S233066AbjHITMM (ORCPT + 99 others); Wed, 9 Aug 2023 15:12:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232895AbjHITLu (ORCPT ); Wed, 9 Aug 2023 15:11:50 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 835B010E0 for ; Wed, 9 Aug 2023 12:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691608267; 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=idN6k6wnvIRmPVarrYDUY5WM1/+zqey5Stp1+3/1nn8=; b=BZjmC1w7h5ZlvYjGvjo6vsVmYgJfRR6UHgGNKPaSyjdvA6cyuqUs0rKYULI2O6pwH79UWB r1mVHlXWe8pzyvR0I7nrjlAQ/B+At1t177tZnIhqXRrL3EWhbOQTGqePtEexkcw0ikDA6z 0BKvoqseP7e7F5fLObf2OW//+G6LhyY= Received: from mail-yw1-f199.google.com (mail-yw1-f199.google.com [209.85.128.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-252-P3MOPbOYPHCtSS_YI9Pmbg-1; Wed, 09 Aug 2023 15:11:06 -0400 X-MC-Unique: P3MOPbOYPHCtSS_YI9Pmbg-1 Received: by mail-yw1-f199.google.com with SMTP id 00721157ae682-586a5ac5c29so3026047b3.1 for ; Wed, 09 Aug 2023 12:11:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691608266; x=1692213066; 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=idN6k6wnvIRmPVarrYDUY5WM1/+zqey5Stp1+3/1nn8=; b=l0lrW+iFVOOU4WlSXV8L3hNWVkgaBgHDN7z9dcK29Mh3FM34HIkmh3v2yMS8ICBcwe YmP1569Qcz7ElpmJUsWdDI6vY27XuD1vP8Ubv0OpfY1zxb7pOOlSTVG7feY9QjSbjjdW qchA+til5Wzsg0jcSM2jm5JmNZp/o9T335E4mS3qBT9grL/PSM4lAFNCRx45qGP4UlXv haVDvfHe/t2cQfd739zohkCcshiM494egXcJSvu5Nu78scNJrGU+Kyv8MZxKfS5TeE1h n4h3BOmf2Fgq6G0ctsilPJQnGa/m/0kPObwMnnvLUakBYqufbIEedmFR5mAP+mzXOEt2 /5wQ== X-Gm-Message-State: AOJu0YxB7zio9HCWOWvgE3HD3JCmOz3hh5SA2+NrwZxEyLhI9e9FUTYS scPwQJ9UrB5NPfrh8p3diOYAhf34IWDugfxPeB2w2r7U3TSr841WrY5XHuCk0mRQjO8J2AypGPk 5ds2tffg2rEziDJWc/+x6znoP X-Received: by 2002:a81:5213:0:b0:577:18a9:fde9 with SMTP id g19-20020a815213000000b0057718a9fde9mr203975ywb.43.1691608265902; Wed, 09 Aug 2023 12:11:05 -0700 (PDT) X-Received: by 2002:a81:5213:0:b0:577:18a9:fde9 with SMTP id g19-20020a815213000000b0057718a9fde9mr203963ywb.43.1691608265662; Wed, 09 Aug 2023 12:11:05 -0700 (PDT) Received: from brian-x1.. (c-73-214-169-22.hsd1.pa.comcast.net. [73.214.169.22]) by smtp.gmail.com with ESMTPSA id s84-20020a817757000000b005774338d039sm4172969ywc.96.2023.08.09.12.11.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 12:11:04 -0700 (PDT) From: Brian Masney To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, hugo@hugovil.com Subject: [PATCH v2 0/2] scsi: ufs: convert probe to use dev_err_probe() Date: Wed, 9 Aug 2023 15:10:52 -0400 Message-ID: <20230809191054.2197963-1-bmasney@redhat.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit 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_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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 The following two log messages are shown on bootup due to an -EPROBE_DEFER when booting on a Qualcomm sa8775p development board: ufshcd-qcom 1d84000.ufs: ufshcd_variant_hba_init: variant qcom init failed err -517 ufshcd-qcom 1d84000.ufs: Initialization failed This patch series converts the relevant two probe functions over to use dev_err_probe() so that these messages are not shown on bootup. Changes since v1 https://lore.kernel.org/lkml/20230808142650.1713432-1-bmasney@redhat.com/ - Dropped code cleanup Brian Masney (2): scsi: ufs: core: convert to dev_err_probe() in hba_init scsi: ufs: host: convert to dev_err_probe() in pltfrm_init drivers/ufs/core/ufshcd.c | 5 +++-- drivers/ufs/host/ufshcd-pltfrm.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) -- 2.41.0