From patchwork Sat Apr 16 07:11:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 12815705 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8CD9C433FE for ; Sat, 16 Apr 2022 07:12:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229904AbiDPHOi (ORCPT ); Sat, 16 Apr 2022 03:14:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiDPHOh (ORCPT ); Sat, 16 Apr 2022 03:14:37 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88F7A237C1; Sat, 16 Apr 2022 00:12:06 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id bx5so9134166pjb.3; Sat, 16 Apr 2022 00:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IN2ONTq4FQTpo6zkZYEzpNCVy6bLNMJdxea3lAKB0xc=; b=EB5o+bjfuGJ0EVpCAeYQa92iag/8piehTEyCIMaBp+wffQKngt0IKVcgcTAy4h0+do 37diJsYCcBAMajOwuqLv5JtfkBkIF1ubZ7wE+RCRoShEezImzfXxRdmI0f2nRlQJ4xvR cQbIpzGn8YF1MfInKDnfYsOn6tP++NV20cFnLF0EL6MO72/dekkW4gvgIr46A5A8qOk0 ad5sIYNr93VKHqTEzl8hXh4U4ex5ZUPdWzcIGgxEAxpropjs8E+pkmz4YxTQI9wOHGzp mAa/50I3mdZ+IDJaX+2LoBcCt4/VeYTLZwfgDLvI9F12y8CeRp11CgqXyCpgGWusx8US lv0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IN2ONTq4FQTpo6zkZYEzpNCVy6bLNMJdxea3lAKB0xc=; b=ptkubJcB7v8dHgfXmilEwpD5IB9a3eMIJnox8oWZTJfSHye7UGRw/qHPGaJZDskgM7 CShdWchlNPDW7x1Y89s5qxjjkwh5CQOMVEsu1Fpu/YQuk3wJVWProYXkvCUd+bhQH0Kr +IhMxL81NzYUufNGDvMJa53XBHA7EwWUdJTRSZl008jk4bTlD+7KtDleJIXc/XCXUeoe GNsSLh1zaF02TpRE2KDHXIPyPLD23IC+rmnBBNTtEQziiSgAMw7UyT0CLWmz8wKof1H+ DhySR7PIBKVM2r1Hvp+24vJPeaQgRRv1QLCWobzRCQ8DqRAoWUM6h/1mNtynvBZy14nb xFhQ== X-Gm-Message-State: AOAM531V+OyeHYYFWUSvXunH0omDJ6++Y2RXnZu/l1wtyB6kzriHOm+f 1tV+GsZM7MNxFZ9kL9h/Mvsw+Ox3B+5wZA== X-Google-Smtp-Source: ABdhPJwrwklHaXhUc9BpuMtbsgKzkWjYnYKG174ie/S3tOi5AbR82jI54+T9WzudC09f0/pOaMaDxA== X-Received: by 2002:a17:902:bf07:b0:158:24d9:3946 with SMTP id bi7-20020a170902bf0700b0015824d93946mr2513838plb.28.1650093125680; Sat, 16 Apr 2022 00:12:05 -0700 (PDT) Received: from debian.me (subs03-180-214-233-90.three.co.id. [180.214.233.90]) by smtp.gmail.com with ESMTPSA id c139-20020a621c91000000b00505deaddb09sm4882405pfc.107.2022.04.16.00.11.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Apr 2022 00:12:05 -0700 (PDT) From: Bagas Sanjaya To: linux-doc@vger.kernel.org Cc: Bagas Sanjaya , linux-pm@vger.kernel.org, stable@vger.kernel.org, Greg Kroah-Hartman , Linus Walleij , Thierry Reding , Mark Brown , Liam Girdwood , Bjorn Andersson , Saravana Kannan , Todd Kjos , Len Brown , Pavel Machek , Ulf Hansson , Kevin Hilman , "Rafael J. Wysocki" , Rob Herring , John Stultz Subject: [PATCH] Documentation: dd: Use ReST lists for return values of driver_deferred_probe_check_state() Date: Sat, 16 Apr 2022 14:11:38 +0700 Message-Id: <20220416071137.19512-1-bagasdotme@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Sphinx reported build warnings mentioning drivers/base/dd.c: /Documentation/driver-api/infrastructure:35: ./drivers/base/dd.c:280: WARNING: Unexpected indentation. /Documentation/driver-api/infrastructure:35: ./drivers/base/dd.c:281: WARNING: Block quote ends without a blank line; unexpected unindent. The warnings above is due to syntax error in the "Return" section of driver_deferred_probe_check_state() which messed up with desired line breaks. Fix the issue by using ReST lists syntax. Fixes: c8c43cee29f6ca ("driver core: Fix driver_deferred_probe_check_state() logic") Cc: linux-pm@vger.kernel.org Cc: stable@vger.kernel.org Cc: Greg Kroah-Hartman Cc: Linus Walleij Cc: Thierry Reding Cc: Mark Brown Cc: Liam Girdwood Cc: Bjorn Andersson Cc: Saravana Kannan Cc: Todd Kjos Cc: Len Brown Cc: Pavel Machek Cc: Ulf Hansson Cc: Kevin Hilman Cc: "Rafael J. Wysocki" Cc: Rob Herring Cc: John Stultz Signed-off-by: Bagas Sanjaya --- drivers/base/dd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) base-commit: 59250f8a7f3a60a2661b84cbafc1e0eb5d05ec9b diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 3fc3b5940bb..b0b410347ab 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -274,10 +274,10 @@ __setup("deferred_probe_timeout=", deferred_probe_timeout_setup); * @dev: device to check * * Return: - * -ENODEV if initcalls have completed and modules are disabled. - * -ETIMEDOUT if the deferred probe timeout was set and has expired - * and modules are enabled. - * -EPROBE_DEFER in other cases. + * * -ENODEV if initcalls have completed and modules are disabled. + * * -ETIMEDOUT if the deferred probe timeout was set and has expired + * and modules are enabled. + * * -EPROBE_DEFER in other cases. * * Drivers or subsystems can opt-in to calling this function instead of directly * returning -EPROBE_DEFER.