From patchwork Fri Jul 7 01:03:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Wolf X-Patchwork-Id: 116896 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2945013vqx; Thu, 6 Jul 2023 18:22:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlGC6Vlh21NETI93gzGj/FFvrowPsXHRtqrKUqcm/F6wzytuV8id6rv5vEW4ObidR/nnjeUJ X-Received: by 2002:a67:fb8c:0:b0:443:86be:f326 with SMTP id n12-20020a67fb8c000000b0044386bef326mr2255772vsr.18.1688692927888; Thu, 06 Jul 2023 18:22:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688692927; cv=none; d=google.com; s=arc-20160816; b=zr1/Q+jAxE5wuHn90grLvuHtfu2Is5Vrb3WOE6VONjtrVV7+RHuVNkzWT+4MdAZcDm pcmtJWIVFNqUe7D7ezdJF0Fm6xFmUlKI3e2goaAFOHXNb3loEuwe7ElnYCaGOwOqo3PL ihD6YqRsO1pZvRg3srFNsMnHL4VKlU582mLym5i+7MfG9EtEL7rM/9V2e5JbhUnCeW/i h7ethDd/C9h/DvZq9gjQbH5TeZhGuWVr1Lr1L9EoPwl/NaJwE1331gaIOSTyWdCE3Mhu DMJFXw0QlmAskv48CsYGBC9ozvvERPpCZQ3PgrY+a15dlYC/vR2+fONm9kkqx+8Qgcj/ rZAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=+oIOaPOZd61ihL8ZxQmhSfjnRBTsUWZckmfdcMAXRn4=; fh=Rz7QEXhtT5OjqFeVqEYK1yDWdLE6knQ0pKDdjl9qJnw=; b=Ee2oDyHepNckDMV82L4aP/I523Bf2HbPu4oi6LHgDaYWTj1qXuM5lJishFK3bWyEtY 9fhAhe2kYZAHEz1CX+qtw1VhIQi+P5grV9j1WHa5doclX+vPyn6uHqYNaoorwWlw8Tj1 BWCkn/BCPTIL6DqTCbmMtdShLArenNiF/XTR3+aTaK+GrPpDGnB43ox7sCTjplwFxWUo vbkjLwawAtjDDog3XPA5TD7BQD67AlBPGs0qzP7USudYbxxTmr7znwnznm1TADUODMF2 xpNNWCgbMXmyW31Sx7a+50GqkjF4abyRrldDQA+nEO01ELhdpzTmlpP/bshsEYcj13Qc DjVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=rKFY3UKr; 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=gmx.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z33-20020a631921000000b0053fbe7c8d3dsi2664621pgl.632.2023.07.06.18.21.51; Thu, 06 Jul 2023 18:22:07 -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=@gmx.de header.s=s31663417 header.b=rKFY3UKr; 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=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230435AbjGGBEC (ORCPT + 99 others); Thu, 6 Jul 2023 21:04:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229506AbjGGBEA (ORCPT ); Thu, 6 Jul 2023 21:04:00 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CD5D172B; Thu, 6 Jul 2023 18:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1688691815; x=1689296615; i=w_armin@gmx.de; bh=5882YwYHfG/JJxzZayJ8NZBGgsdnPI/wsZ7JwnWwUvo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=rKFY3UKreNqlHVa9m7ibtqNC4hZyCTYpmbcYEHkBBdgfcDuZvmV5pHSSYxMiLHqTvPcMzQq w050oaxBvvb431Qlba9cSX8TVc41l06we5Yl00QmSAEivuGBQLTfSflZ3FWbbfbxabhBc5e9d c2i6NE4zBUc2uAgu5qkYSzH8LRf6YiUKdOvLnlCLpl3IdAVVQDucKl7U8/Tr/iftiQWywuLsL 0kijFXMPs1W0VFsOMgk+8UcvWuYi7tGormMLiFK20qS5QlQSVQf21rGKKX9Ch06OEdTgM6oUN kclJWM04Zf4O+vn1IE6LUKm/JVbYG/mC5Hy1qPESdKTWuKexBMjg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from esprimo-mx.users.agdsn.de ([141.30.226.129]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N5G9n-1pppsg0TQb-0117WS; Fri, 07 Jul 2023 03:03:35 +0200 From: Armin Wolf To: hdegoede@redhat.com, markgross@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, platform-driver-x86@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] platform/x86: dell-ddv: Improve error handling Date: Fri, 7 Jul 2023 03:03:32 +0200 Message-Id: <20230707010333.12954-1-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:GciWBDV2OMvqV9LClnMebCWS3o42rBZCi9eifhwPnqwUFyXawaR jVsJB9Owq9G0gj0A6o9TerEqF4bMYPC/XIuXXxpgA2ki+XA37WBrK/VwV23RODWXrj4gLbC 73PQZW+8CusSo5Y1NZidx4XwTZ1F/dFNXHn6S12d+sXYT9D8dlvdtHliw3HDqgsJhdnnFDK Y2YHtk5VwIdg/2L0jEcQQ== UI-OutboundReport: notjunk:1;M01:P0:rL4xnUL/AgA=;5oAYG5vEAbGqd6twCiNcj2IXbhu wBCWN7evla+ZTLJW/l+5ws3RvsHvJ8TVv68aoyPWU3WS/aLEzej7WKmy7x0Aw3zG0TxO8ajI/ n/K/Nl85g8oslZkmW4uwTXyJK7+nSstwHMSAOZg4GxjtiT/tbPFvZZhSRI2ikYtuni8Wqp8s0 JgFrkWugiHgKifjyGQgZ3hyHIMK5s7II6+1hlkRoJw3kjBGwgFxvUHqFkW1FtfXjYGRh+0JGw 7fXI1lWonziK08fggqf5LCj6R2zkwXGUzX0rePZ0H4SSclA2V8kYeuhOvJw4ef+MjPI/N6jSY yiPKVDEzgoNtTqJJsgHgPFUQHREsnunziosgdIDdf7nj1sex1Xg0u0MoLxUFgJVOdg03TPy3d FbKip5j/F8qVwdFWUOgSEY3haTtvJoxycEXRA9Rvma1QpgI2hsvfgpKuUNuYbFUmTPvN9eiFN DDwR8ItD4lK6qZdcFHc71y2OJq4rIt1H29lmxQssy9zaEOAh2wgcgjzz/yQyCDnGJ11M22oPy JVOwy3C35ye9SOkNPL+Dv0mxokEmxrMwoNX1/zqrJNvVsoS/l2j0ybDpvcbu0sI/4ln1r+KxT gmcGQiLO1nQ/0C9dnoemPnPDZYVjZ4ZTbGGANIyCiRI3SIIyafmmKs4XoRQuJsHn6Ms5WGHfu Dd5FS7DV7q/kCWuG4CmIJEUda9Fj/b6BKDDAcXO21BKxnhqA/It+HCAiZQrdTiOjecqI0jcQy oIn75cwnSTYvwjBuquKuNO7qZAx7OHKwBcYSVocF3NR8mWUeGvoTzR6plo4e/g+ybXxuSAKQL iMxizB4pD5Jf4qBCk5esdiBEVb8ZHe6Who1Nf7/ER2S8bC36MbAFqrVL1vxOnVK8C3LbRS4r9 ZyKWUejeW2rNHJOeyiimmazXViEE+IF12E/hEhDbBhkkOGNxRlpo7NBOb7shjjBr0JDap/JNQ DABP8/wyoW4qFg5VFrgPA7s1aBU= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1770722875321913621?= X-GMAIL-MSGID: =?utf-8?q?1770722875321913621?= If for some reason a external function returns -ENODEV, no error message is being displayed because the driver assumes that -ENODEV can only be returned internally if no sensors, etc where found. Fix this by explicitly returning 0 in such a case since missing hardware is no error. Also remove the now obsolete check for -ENODEV. Signed-off-by: Armin Wolf --- drivers/platform/x86/dell/dell-wmi-ddv.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.30.2 diff --git a/drivers/platform/x86/dell/dell-wmi-ddv.c b/drivers/platform/x86/dell/dell-wmi-ddv.c index 2750dee99c3e..db1e9240dd02 100644 --- a/drivers/platform/x86/dell/dell-wmi-ddv.c +++ b/drivers/platform/x86/dell/dell-wmi-ddv.c @@ -616,7 +616,8 @@ static int dell_wmi_ddv_hwmon_add(struct dell_wmi_ddv_data *data) } if (index < 2) { - ret = -ENODEV; + /* Finding no available sensors is not an error */ + ret = 0; goto err_release; } @@ -841,13 +842,13 @@ static int dell_wmi_ddv_probe(struct wmi_device *wdev, const void *context) if (IS_REACHABLE(CONFIG_ACPI_BATTERY)) { ret = dell_wmi_ddv_battery_add(data); - if (ret < 0 && ret != -ENODEV) + if (ret < 0) dev_warn(&wdev->dev, "Unable to register ACPI battery hook: %d\n", ret); } if (IS_REACHABLE(CONFIG_HWMON)) { ret = dell_wmi_ddv_hwmon_add(data); - if (ret < 0 && ret != -ENODEV) + if (ret < 0) dev_warn(&wdev->dev, "Unable to register hwmon interface: %d\n", ret); } From patchwork Fri Jul 7 01:03:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Wolf X-Patchwork-Id: 116897 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2947282vqx; Thu, 6 Jul 2023 18:27:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlGhot/HkpiuSrnzrRhhS3ZCYs9iM5NpwgQLrd/p4otAkYvvttDogTUB1edbJfILPdODLQgN X-Received: by 2002:a05:6a00:1803:b0:66a:4a45:e023 with SMTP id y3-20020a056a00180300b0066a4a45e023mr3454573pfa.26.1688693278288; Thu, 06 Jul 2023 18:27:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688693278; cv=none; d=google.com; s=arc-20160816; b=V7oDi/lq21Y61BgtdZ2aqNfNcDiVEkjHJ/ypWIs58D4zk3YYfgmqxvHqNmOJdvKEPT 1uePR5U6LVyoqUtE/a5dMZguBM2MGhvRHLXpPIOej8no3Z9Fi/ngNMlnqtKikesXcNrX 5dx6hURGqUmlchLcpvMOpU9ptOoi5J0JJjjUjQb+5DgB3goiSergEM0XQnXG4ftEIWyR fwhKUNChyqVSZY6pdNjRYZ3vI5zFTqFlABkitnfnAOyy7jFlM8UjDchb4Xf/9lxkvr/c pJuAjebSYSpqZSnUPLgfWsdqCidp5g+DwP8VqgFlcLir5CAfnoBKOTksUCA6ZReieP4G cnHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BFg18R7D45PvYc6tAEeEiB0FiEf132/g39rWra8TwlU=; fh=Rz7QEXhtT5OjqFeVqEYK1yDWdLE6knQ0pKDdjl9qJnw=; b=qxtQNJytKtbyCRdJv4q8HAXGnPWjzMxw3Qgrz9+7r90fC9ER3xFIOPh6exK/mzKaoF 49oJ9LYS8zpLSMICArbYdbYfSDBfXep1YBtn1oHPwXqCR4xTf6GsjHxUBF48dEbufqzx XoxRM6ELCKLOnR/U9UO0vqZO1IY6VvHW3v06dq51Jni/Vp1qDNNd7GsdEbL0ElelzW4m PZsEgQRXxgU/chb4H84ZJ6JxI/HT62pAnshDa94i8mY3xKklgN4RbU4eK6uodeBeg+xp vtKjb2txE759wcCbZFDwaZ9b7s8br1wzyMBn9gWDbeftTAZsRD2NKRJbFGtc4jWKqGjw 7aqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=mkQNklDG; 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=gmx.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ei31-20020a056a0080df00b0067c12c99c56si2422671pfb.117.2023.07.06.18.27.43; Thu, 06 Jul 2023 18:27:58 -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=@gmx.de header.s=s31663417 header.b=mkQNklDG; 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=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231623AbjGGBEE (ORCPT + 99 others); Thu, 6 Jul 2023 21:04:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjGGBEA (ORCPT ); Thu, 6 Jul 2023 21:04:00 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14ACB1BDB; Thu, 6 Jul 2023 18:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1688691817; x=1689296617; i=w_armin@gmx.de; bh=BFg18R7D45PvYc6tAEeEiB0FiEf132/g39rWra8TwlU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=mkQNklDGH6F2popgGYUoFPxvSZ2IULRaRqXxTjHOCUh0/BO5HNkYGwYpPwqxjTnULh1nb1j FV/4pXIatPb54ADUajwE4edleCcrpMvLLR1uhiuLu+AG1a1RjkBekZnwuv16sce8srLdPThHm o48/s2DSffvU7L+Jjor0FS86ySOc9I060jaI3aqcJNzD5x159k6j0hkImV/Tjq1rDDwYl/c5B uhmF6vY2mXRQqvULFKmIMYPbsg+Ty69Ub3PLBwP1BUCeFhGBXfmEMCXQgBisQCpOBGk/+ui4R Eye5sszYn+yDEsvp++XGOY2EIDt0FGE9p5MeuBhVbWXbQV0Z0cSw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from esprimo-mx.users.agdsn.de ([141.30.226.129]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MBUmD-1q91h009CZ-00D1d9; Fri, 07 Jul 2023 03:03:37 +0200 From: Armin Wolf To: hdegoede@redhat.com, markgross@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, platform-driver-x86@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] platform/x86: dell-ddv: Fix mangled list in documentation Date: Fri, 7 Jul 2023 03:03:33 +0200 Message-Id: <20230707010333.12954-2-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230707010333.12954-1-W_Armin@gmx.de> References: <20230707010333.12954-1-W_Armin@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:i/hwyvylgjPU5ny4zvohfMB15j+aPvNxemuiuUhCVLAZtR66j54 utYKRqCP6rDJWr4jUreYVprQoEYj/2Fk2i70VBJdx5Xw4tvdsN8vQvhxdPGz3GARzq17Lld 6IQPFLS7oomS+UMul6adBCWRBqveJywec1aJa9BAozpokdwTACxxzsPs4YuxpcaiUDNF1ns wG7CL0d6qoBNuQHYkLINA== UI-OutboundReport: notjunk:1;M01:P0:xxTHVl92eGc=;H9VKj/VguUyld8eVQPxfNuuDeBh ahF76TU2ShRNRK2qsTbvCxRc5Ci8zihCgibyGj6Ch5XGlT86+yh0SZFdxk3QOk8KtLncWp3fN gJH30VxP4Rh7lzlWeyjJ3mNA/tya4L745prxwo0O04BMk4CiXXS19SEWfzKRghgVs0/AcNmdl DcVTFzhI/L80DnBYTbm6lPiiFz4v1XSl17ftSSydBVGq7koI6QR1/l8CPl5XJ8gsCRi7vLvEb EtMcLTX3nuJSL0qsoohu+Cjp44Dl2dyzKxcmRxO5MRXLeu7Im/vdIfIxV7UJn10SCoXvm6EtV U0NhVVErSv9knVokUglvd8l7R7mFmNJu6ZojbPxxEXpeSrdZEinWGvfiFhmtfoTK6rSG5nHKF KBRxYBM9ySK3Mym2ohKpc0h0bR7E0rikSefhCM1/NghCXEpwnLUN4LkBlrwX8pJ0fXXOS44Gq 1Pe8DCwDsmdkeGAWMEBIHspd9DV4wh81CqKt6uAjMa6o9Rzobh7jW5c5j5vrwF8Id2cNLScjQ bl1ENCEF4gyPHgxGfEvn9jX4FdJvpeYnZdE+hbVs/hv4KbMQuPRfxX02131pS2dDlr6K4fysZ duduy//TxnS5Des0OHitG08aTsOWS7Nzs8euhV/vbqsx5s8FICZzKMMzjt+MRqgAP5jb5M3r2 SS2lfaV+LgtYUWAG6HwLXqYAAe+uwN4R2R1qvsZPuxDcX15W3yiwZBTY6n9+yWcQEi39I93tZ pa9F3/UwsP9OkYH1ypCwG2qPYPxE9Rh1IqPHbJDl1WK6RzmzTTN5ebh9HWwtE7uLnSQcAEors bZzXKqcoERWWfUcHIEEa1rIBfWojic9vz9FqvOT2nV47LMwFwllXVdyKj3SWvsCQ6dgucKZHL 3/PSz+fikk5oeoRiMm8xLhXF3xnYDyKbBjyfPwMTtyYe3ZrFDCUmDrXcIwJqABGtJSJ2nk5ak VZql1pRfAgtIzc14MMLW0yQJ124= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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?1770723243087745869?= X-GMAIL-MSGID: =?utf-8?q?1770723243087745869?= Add missing empty line necessary for sphinx to recognize the list. Also reword the first entry a little bit. Signed-off-by: Armin Wolf --- Documentation/wmi/devices/dell-wmi-ddv.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.30.2 diff --git a/Documentation/wmi/devices/dell-wmi-ddv.rst b/Documentation/wmi/devices/dell-wmi-ddv.rst index d8aa64e9c827..bf963d91dd55 100644 --- a/Documentation/wmi/devices/dell-wmi-ddv.rst +++ b/Documentation/wmi/devices/dell-wmi-ddv.rst @@ -187,7 +187,8 @@ WMI method BatteryeRawAnalytics() Returns a buffer usually containg 12 blocks of analytics data. Those blocks contain: -- block number starting with 0 (u8) + +- a block number starting with 0 (u8) - 31 bytes of unknown data .. note::