From patchwork Mon Dec 4 02:15:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 10089525 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E408060595 for ; Mon, 4 Dec 2017 02:15:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A93EA28958 for ; Mon, 4 Dec 2017 02:15:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E24728A56; Mon, 4 Dec 2017 02:15:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3EBD528958 for ; Mon, 4 Dec 2017 02:15:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752971AbdLDCPK (ORCPT ); Sun, 3 Dec 2017 21:15:10 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:45378 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752737AbdLDCPJ (ORCPT ); Sun, 3 Dec 2017 21:15:09 -0500 Received: by mail-pf0-f196.google.com with SMTP id u19so7402278pfa.12 for ; Sun, 03 Dec 2017 18:15:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=rwko7XK3B+Hx6UN8QS7Mf55M1va0QMZS/innyRWMMEI=; b=mibvQZrTjJB8xfBnUdOJ4yzh0q/Hj+SqZhqjatQ3XYwwvbbP9b6qgPFtCTN4mvumG7 Nr7Y1l/L6PhWrxhxRUCpfZ0auETKfKc0GX0mqHtY7sN4J3ED+GlPmOumA6j+6Tcy0R7o yb8GBq5BtAFJKlwDn7gh1Cj4XKnNngfBGWoDS+XtHtrdS4xtNgwmL2Vc3Fv2vA0I/r5R OV6sgTZC0xSyuankkhxDykytSZE/VNDKqiXUAO5uhFLdS5aRkspcap0+u7AxjhhuLZqI B8fWAkywd9n5IJpM8WS/Fk5wZRPwPeMlKgCNCCn82kmpQywxgdWjFhSLwBY+MryLK0dC atmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=rwko7XK3B+Hx6UN8QS7Mf55M1va0QMZS/innyRWMMEI=; b=R+EQFrf4iwh7bMjhMzKXvRyVwISg3eTXbXmeFQj8hnW47hHvOOGln6NwjQItrXKFuI SskKbu/6vHZ7CZ/HAofskI2xRaTfbH1S9G5Oo64nbnJqFTkazFL5jqeLszO4yIYULhk7 IyxmpgntGMQuZlxjY6mPRlPAzDxz1VryD0gGwoTVa2zDgDFZw9ENdhsrraDHW5vjPTLk VMbE83CYAgoVst6Vi9H0KZGe/0VjLw4FCeKlVKVyNsY6J8n2+EWW1WLzTzfp6gI6Bv0U V3L8NhT8kZXJ/APMGB+LMuQ6LqsX6Sfgp0aQKCkTTQzJ3nUVhLyNb334XjARjW+ZC6zp aE9Q== X-Gm-Message-State: AJaThX45u+IX5ZXejYLTVxmT5h3WXnRInefYqbG1hDw1TYB9v9L0Sjfb 8O8aj50Bd9OjR4JlhGChVlYnqA== X-Google-Smtp-Source: AGs4zMaK5DNP0h874IIu0IUlYMeyiQtWSF58suCOMr4mxMWcb9m7KDgJmX0/c7xIO0dqubXG4wE9nA== X-Received: by 10.84.128.197 with SMTP id a63mr12975352pla.212.1512353709178; Sun, 03 Dec 2017 18:15:09 -0800 (PST) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id p19sm21454523pfj.140.2017.12.03.18.15.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Dec 2017 18:15:08 -0800 (PST) From: Guenter Roeck To: Hardware Monitoring Cc: Jean Delvare , Guenter Roeck Subject: [PATCH 3/5] hwmon: (sht15) Fix parameter documentation of sht15_crc8() Date: Sun, 3 Dec 2017 18:15:02 -0800 Message-Id: <1512353704-6973-3-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512353704-6973-1-git-send-email-linux@roeck-us.net> References: <1512353704-6973-1-git-send-email-linux@roeck-us.net> Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Sparse reports: drivers/hwmon/sht15.c:188: warning: No description found for parameter 'len' Signed-off-by: Guenter Roeck --- drivers/hwmon/sht15.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c index 25d28343ba93..2be77752cd56 100644 --- a/drivers/hwmon/sht15.c +++ b/drivers/hwmon/sht15.c @@ -179,6 +179,7 @@ struct sht15_data { * sht15_crc8() - compute crc8 * @data: sht15 specific data. * @value: sht15 retrieved data. + * @len: Length of retrieved data * * This implements section 2 of the CRC datasheet. */