From patchwork Thu May 20 19:00:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12271205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 770E0C433B4 for ; Thu, 20 May 2021 19:04:48 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0790860D07 for ; Thu, 20 May 2021 19:04:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0790860D07 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LlAy1FATbDKHo2VhQR6j2zta5QGpPrZcj9nsUG0USpQ=; b=QOHkpBmjxPeLZygMBgbMKJKdnt IDTpmA/vpqfNwkt31q4L3kNo005wRXaIp7UstLREOI3UPVEFNpDnb8eWOjyw14l+Zb6IU/V/mCvaX u5+wII42UD1eBzcxxEJSGj3tdJcOpcmkykAQ3S7+xWLTEVdJrDdfPz2rIZF2O72k7ppXQo+sfJvhC njuEDTilxtCUQi4UczbnvOwl904u7QNyK2iPsgXUpb4HAEXVMYlSO5pcEpF4iK8jCgONxxmQlQTsc fVMmPCCKeorMKTIrPFLUA+i6Yfx27IgDSKK+xzC0QZZ25l1KFYrDhYDRu+OGa3XpxUGDAU11F0KQX 7lP5xXVA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnw5-002OnF-Ah; Thu, 20 May 2021 19:02:21 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnv1-002OeS-FE for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 19:01:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=uDuZrk4UNMKTd6gnOhV3WWQzrwgx7DTKW4HaKm1ez8s=; b=FtrMRrFJQLhbzlRvlVFr61wrrW weKS777RzNfQfSqvjMOstgmMamLVDwFuL9FpWnQcU0plZapKg3Q0vrfU5EWYeICiWqgkySunZgtKP X7PI03pN4iPTi5fVXK4h9otZtTxazEcdKNxVE9NOlMmavHJa9TxmuRhzz+bd7dPi0sItiLk0h9UNp 0W0UBRGI+Y6pSB2SiMGI6t3PA0eDL4kNqqdGS9jGTetdUabC4UOCaKsVUcdomkltA/Zrhefi7ihmo KQMmoIszRWnFjW/4vFPl/Vr7W9U2sKjNN4a4ca+aIIRnQIENX8YoH3F7cjOosNCF26yxyJNN0Rw0i yiNXOSDA==; Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnuy-00Gao5-6M for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 19:01:14 +0000 Received: by mail-wm1-x32f.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso6028220wmh.4 for ; Thu, 20 May 2021 12:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uDuZrk4UNMKTd6gnOhV3WWQzrwgx7DTKW4HaKm1ez8s=; b=OxzNzvSl5dKEJkHxeZLPOEiYfu84JT2ULxT0aBFA+R1FLe0OI0tceeEhC572Hl1bFf XPfA0V5ZcH8hRr9YWsLuduCFexwc0DXbXm3BODq+bTHOtYrmhjLRdeQ7pgRlfTp1rrX9 vdow26GL+HV+vGUAtRovh7H/dJafI3fUZ7TutM6GQFQh9yX2JcByXnH8OzsWL6ihLGhW aVm51sDbseOXXwmRdEjfUDUXaCI3EQVRFbUA4LOcb3301ZfmaNEH8T6CeaWl/vXXHtOh 1iBXdY3K1ck6dxFYTulP63PEAYfvtZU4pnKSj53DkQs4ES3NLdS1z6EoJjL1Mz6L4aGl eRrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uDuZrk4UNMKTd6gnOhV3WWQzrwgx7DTKW4HaKm1ez8s=; b=fEsgmG9nYUNlxebcG0BnaF5f+cc46X28zl0b4P/v34V8Izz4QwQPFOe6DfwiNfAdnq f6BI03eRxvjwdLKfjRyJchKvrUYQ17ohQHQfC2qzWZqGzidjySeLZWQBCFd1eUH6yBQo 0D3V9taILg3Sw1KJZxf8wvIE/QAcFjTMo3zOtgduK8AzdV09EUJYa3hRoLR2RpNJp33F rO6+AzMIhv/rDve/yNcFpGr1BdBCHZYWEo8feI770V+zaMKoQxmifCcrMnMFeyKfkB4r Q1w7+aKTu9bMB1J+SA+IEkCvVNXgdAcmQZ4Qmwpd6M6o65u6awRXI+QhPppXouOBH+vc rA2g== X-Gm-Message-State: AOAM530l5wqk9hmE+tPtrxacU/41SlGp8d3DNWxlobLRMFZFiC/m94rX Q2+/8B5s3Gp/fGdADp/RwWr2Dg== X-Google-Smtp-Source: ABdhPJxkYe9slV0umxG1OOeypjcUJw/is/y1omVhYmkam/q2HJPQdvADPp/hCtt/a5wsfMW8yYA5Lw== X-Received: by 2002:a7b:c14f:: with SMTP id z15mr5500694wmi.149.1621537270416; Thu, 20 May 2021 12:01:10 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:09 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Linus Walleij , Srinidhi Kasagar , Sachin Verma , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 01/16] i2c: busses: i2c-nomadik: Fix formatting issue pertaining to 'timeout' Date: Thu, 20 May 2021 20:00:50 +0100 Message-Id: <20210520190105.3772683-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_120112_252723_8CF5A2B4 X-CRM114-Status: GOOD ( 13.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-nomadik.c:184: warning: Function parameter or member 'timeout' not described in 'nmk_i2c_dev' Cc: Linus Walleij Cc: Srinidhi Kasagar Cc: Sachin Verma Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Linus Walleij --- drivers/i2c/busses/i2c-nomadik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c index dc77e1c4e80f9..a2d12a5b1c34c 100644 --- a/drivers/i2c/busses/i2c-nomadik.c +++ b/drivers/i2c/busses/i2c-nomadik.c @@ -159,7 +159,7 @@ struct i2c_nmk_client { * @clk_freq: clock frequency for the operation mode * @tft: Tx FIFO Threshold in bytes * @rft: Rx FIFO Threshold in bytes - * @timeout Slave response timeout (ms) + * @timeout: Slave response timeout (ms) * @sm: speed mode * @stop: stop condition. * @xfer_complete: acknowledge completion for a I2C message. From patchwork Thu May 20 19:00:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12271203 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13878C433B4 for ; Thu, 20 May 2021 19:04:26 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8D8BD60D07 for ; Thu, 20 May 2021 19:04:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D8BD60D07 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TUYx7r24AwHwt0HZTWSwGCP+x29zaVdOeQnHyNT3208=; b=We02qZijjfUgtB6zVJ+fdbMO9J u37RRlY7de7NtoMRUhjfBZ5rrtGjo2rKrpkqUehZhqna5hFvQlEGL2wsljyKwPgTwqDsVNZZKfLic iLAB/9oDXe60KAACXIaOGGatRgtUY9PWE1SuWBjumllmJTZ7ImjWPuoG0laI3ZRiaxjd7pKr/McRo d8v/pynR+GaagVtIIHor557AHl4bAl88mWCPAKy39wLd89ZMQVriz5Eg8uUWKQaCPajvaApmx9zK9 FCUko/u44pmMpTmSDJ/uM00tlnR5LY3IXkLGY4qAVKwjhcmW3BH7OJTxmUmieBMN9N51zWVcry/dB 67swOZrw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnwP-002Ow9-Jq; Thu, 20 May 2021 19:02:42 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnv6-002OfN-61 for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 19:01:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=lIVNEWSC2Jsb3xDrgcxFucT3yo9qXnMbQ7RXe/nUmB8=; b=kOJypy1563e4yzlu+SwgX+DZI7 4WfSVGMgeIxWCjTF38QHSafHIm2Wk0noX2nj4KIoyJjZg5MCQiXLj1b+2ERS6jrGaeJLvoB29Tc8F wHk9hnkS9H1/s+TLdbZqUnlwe4kLz7PiPRlimMSXJVxiZJvNUzw/4leDt/VcistnI+4FEDq2rjBuQ 2A8XTTQAuzClq1NfYAqQBKz9R60ciBRs+s9wxzfZUtTZvsPnaMEFmd1xawxexfQ+gDsaYBNf73APJ Twol7XO9i/KIdpTwSGqEyj5+bHDsELlniQAxIX8R3R+ujn8KP/Kywqf0fePXd7S1OLB4znZFYntmL D0t3Pi6Q==; Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnv3-00GapJ-Nk for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 19:01:18 +0000 Received: by mail-wr1-x42e.google.com with SMTP id x8so18708316wrq.9 for ; Thu, 20 May 2021 12:01:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lIVNEWSC2Jsb3xDrgcxFucT3yo9qXnMbQ7RXe/nUmB8=; b=sO0DBvtCCl2hnSdKrXaHKipuFZz41jcJw70JtL7AiHUAM17ZESebKeTO6+kZGQEmfz 2XmzTuKV4hbiN2a+rnM8V8mAefJiQKxM03Q5KBNjCdboQPmQgBkvJop/ZtqjCGyWOvao YBChqvo+vZFYcwKHu+csr5GRAp2PjTWxLxaAK4I6Qk8X+bnB4hVpG9EahBJIbtP/0Zem h9pI/yZhLAXAhJG+gIJRATpsD2uEW/CPnSYA+EAf9b9+qenE+8s2xjTt9bOumAV2vkrV XRfkterbGrOaU/6vp4jaXFjcBe4jy6Ifb+tc6XWBNPpIuuJk+aREH+fvuwm+52KjVX1W IfPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lIVNEWSC2Jsb3xDrgcxFucT3yo9qXnMbQ7RXe/nUmB8=; b=pcxEPHd6snTdG41ghN+f3fEUwKycyy/ZwihSBR15mMeyQSlX5hU0XLIW6yNr437E2a 04YTUlroYZrhNE0/3ivfj0FomAAmC6j8D2WkYUp2kr+Esqby4qv6nGoCQypDwUtrbCja 8nOb7tkz+pFsYQfuYAuEDl1xVZ2o8LAaXpXfD9FiXpsbpzNlwW41cNukmqlN6vRGCOTr RORvyQv6CQCyXeSQSGsLOVf4g3kVqlNjxBOwX+CYikxftvkaE1e6LhSPPokukDUPVmGm 9ACmDC2l6tJVPROYSDLGpuGJhNxru709toM2jGg2PKiu25UnGcEcnmczSpDl/3iwvlta z47g== X-Gm-Message-State: AOAM532oeX3OpZHSqRbnNX5Otnt/L20D2lnjF5XirIZv1WUE69ie0lNN eQAWNo+Gh0njD3AlKR/q1cS7bA== X-Google-Smtp-Source: ABdhPJypGARHHlnnWcESAq2q0d2d3ZQLgzaMUZ971o9hrcTcQbMotYZPZqXhhFE6odmq2CnoKBH5RQ== X-Received: by 2002:adf:e589:: with SMTP id l9mr5898739wrm.361.1621537275970; Thu, 20 May 2021 12:01:15 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:15 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Michal Simek , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 06/16] i2c: busses: i2c-cadence: Fix incorrectly documented 'enum cdns_i2c_slave_mode' Date: Thu, 20 May 2021 20:00:55 +0100 Message-Id: <20210520190105.3772683-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_120117_789891_60844294 X-CRM114-Status: GOOD ( 12.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-cadence.c:157: warning: expecting prototype for enum cdns_i2c_slave_mode. Prototype was for enum cdns_i2c_slave_state instead Cc: Michal Simek Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Michal Simek --- drivers/i2c/busses/i2c-cadence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c index c1bbc4caeb5c9..66aafa7d11234 100644 --- a/drivers/i2c/busses/i2c-cadence.c +++ b/drivers/i2c/busses/i2c-cadence.c @@ -144,7 +144,7 @@ enum cdns_i2c_mode { }; /** - * enum cdns_i2c_slave_mode - Slave state when I2C is operating in slave mode + * enum cdns_i2c_slave_state - Slave state when I2C is operating in slave mode * * @CDNS_I2C_SLAVE_STATE_IDLE: I2C slave idle * @CDNS_I2C_SLAVE_STATE_SEND: I2C slave sending data to master From patchwork Thu May 20 19:00:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12271207 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0E64C433ED for ; Thu, 20 May 2021 19:05:08 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C5A161244 for ; Thu, 20 May 2021 19:05:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C5A161244 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GFbKO5yag5Cy/aqH11uCcGwVYFO6cHiALLjhzskUeRw=; b=biXe42S/ZO8HWygIdwKj8twjA+ Mw1KWCf/Pggr2Zz7923DcCyOGuRB90Okku969SWHvpTT+6w7IPhFg6B2y3wogblxDsKLF+t2cbi/S KRvz+zPdpN27GcFFlWqzXUZSETCa3HKZtKUAUI30f9Phq7oTLYxx2ZK+258VL+1HuXtDeM7PyIvdC C20D52V0r1XX92560maPEAMkAPDYGKW+anDBjWvm9dbpdZHoL+KFlPhD2CFsCKrLPva/xPFhXqcKt Y6J9ZYj+r/7ZAn4noeVWefCra50e9L8smNT3JZm02tNqZ8Z8PVqy/7td/ZkARM8NTgo3r/RwUOonN QqZaTV+A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnwl-002P1w-BF; Thu, 20 May 2021 19:03:05 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnv9-002Ofa-6G for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 19:01:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=m3jb6hnBmFjxzdvzWu+uBOUpuYnuQHaJ3s27d7EHAaY=; b=dSqsfleOVQpFbg3gViG4NyNXDZ XO/4qnci1Mreao4ncTXbQswX7+Txkx2LWJc8Lev4dhybMB1/q015DlHh6eS8DyC492Wci0m6I1pyT BE2hauo2NNeygRgFrDQ/H0Ftw5ns/qU1OS9LTXLkZXfUeJkrxCWm4JvNRv+xE25fzA5yTcHdKvV5d zyM/WNt8ALR1T+2fg00rkqlrcW5uhe6EKcH+2hhnoOSvnMHx0UDtrMlpX6gi81hQlBOgZ6EWoeOPf 0jOIIDgkDwu1CAJadG2byxzOlZFV51OXnmmwJL3Dg72UFNhqOmwRmx0Io3rWJRecQwZpPBOwjOmYI swVuLTLw==; Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnv6-00Gapk-Mx for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 19:01:22 +0000 Received: by mail-wr1-x42b.google.com with SMTP id n2so18797644wrm.0 for ; Thu, 20 May 2021 12:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=m3jb6hnBmFjxzdvzWu+uBOUpuYnuQHaJ3s27d7EHAaY=; b=K970SYTqN8gULsm5HfoOieuvIDgrrm3n7CEDU2099SAFSAo7d709BIDDecLpOiecca bZROptfK6xiqhDFE+AO87zanxVe5HbR0SC5ObyMb4UZMiKMpfiYlJHffPshEvJgeA+UN V3XG2xCMAY2HTd6MtOFC16ArFARtEWzBocO+cq+CwiAOU6CTEJs7rBuAFIyihY62CbjH 4GRmjZudOmwIQlDL9LvdAis8UI15SzfhgiqM4giwkY+R0L5j/YzK6biBQRaHmV7XUPbc v1TzOIhh4JLz8HV4xmdmBClHHOHwjha1vcMTaeTfrBjxJ31sZoVXCFtmQ5bC7/JQyJxd Bm0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=m3jb6hnBmFjxzdvzWu+uBOUpuYnuQHaJ3s27d7EHAaY=; b=Hq2GDJLW24uylqIJ2o9FiT/xrCxR3+xVbYBP+WNWXA9ygrBt4GX72qz4cIZ/hEX6vv 7bWeExPNs8iQJBvvXHn6z8ehdeW9Ijb43DqKoX3wtqdlcNPtJdjT2rhhYee+JzT85lVh 18WVmp8MlasrBJTtytrIu+k1/cOLLvd4Sq+CuaIjK7xTjIh1/18/7M/FFdNjmm1uyomc a+EukgUtSnTD56j/Zt9csOERN9siKPwhEJQ+tZr9SwtyAMq8rnLGaB6G6kg/JbEbHV0z 0pastxoYN3mc8g5S2q7pCzW4dY6jaigpEHLGqQ/R+CvK830UXjt/hrY6BGwfO4hg/oR6 f9Ww== X-Gm-Message-State: AOAM532j5aP5lblH80+9xtAEitac1MjxjcZ+4HSVzDZ8d4bysZjF6rtZ YEhCpdXhLu7FN85TX9XgN6L2PA== X-Google-Smtp-Source: ABdhPJzQbZvMN96PVkWjIm1fWkUezkxoP+TDMseNMoBt1l63hdRjK8sjh/sSLwnsw30zgcUDQhuUeQ== X-Received: by 2002:a5d:62c7:: with SMTP id o7mr5699770wrv.372.1621537279564; Thu, 20 May 2021 12:01:19 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:19 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Wolfram Sang , Marek Vasut , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/16] i2c: busses: i2c-mxs: Demote barely half complete kernel-doc header Date: Thu, 20 May 2021 20:00:58 +0100 Message-Id: <20210520190105.3772683-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_120120_765759_E0F3F682 X-CRM114-Status: GOOD ( 12.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'timing0' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'timing1' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'timing2' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'dmach' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'pio_data' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'addr_data' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'sg_io' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'dma_read' not described in 'mxs_i2c_dev' Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: Wolfram Sang Cc: Marek Vasut Cc: linux-i2c@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-mxs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c index f97243f022311..bcfe48e17072c 100644 --- a/drivers/i2c/busses/i2c-mxs.c +++ b/drivers/i2c/busses/i2c-mxs.c @@ -100,7 +100,7 @@ enum mxs_i2c_devtype { MXS_I2C_V2, }; -/** +/* * struct mxs_i2c_dev - per device, private MXS-I2C data * * @dev: driver model device node From patchwork Thu May 20 19:01:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12271209 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4BDBC433B4 for ; Thu, 20 May 2021 19:05:10 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66A5860D07 for ; Thu, 20 May 2021 19:05:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66A5860D07 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/fqFh/hZGYn/msiMMV8p/VzFjaIurbyhKgJAo377IH0=; b=V2Sv8agnzS8MVQGImKzj8kwLyJ gDPHccxtEZv1c73ROps/GJ/rgNfF9n9zr7hZBUbb4f6GR3TFxR0p8Ke1QQhwTQNfziaWGCM76o1BI 07aH0f6cG/qtdXKnX0fdSQiPiJs8KkFaWGn6pnn/SJlBrf7Jf0YHyYHnxH7IXUUKX3lztxGvtASgk mew8KvO6D/v/vHABNjaJs9VDYx5TGtqqNP3SrXXoifmCrjCQxBvKaDGPN4kJBChR8UdyGVeA5B9Z6 WPT907AUIJg8RXulAO8lw2DzW8AHTnW9v2Vf8yPEKEOTJagS3uQgP10OatPQMV3GMfvdKsMBeunNs h0zPGUrg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnxC-002PA3-V1; Thu, 20 May 2021 19:03:32 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnvE-002Ogm-08 for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 19:01:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=zNl0TWlb/d8Kz2EbzgNPnXTHheMEm6iTFjb4mkLXVgg=; b=Xxn1+1m9OYSVyOlJqSfgDTQwuk c4r+HlsXpqKhlTJ+fmcZS+ipmNd08j8iHjAnch8gKTaIitq2u31l/PGnVVn5t923rlihuc6Gk0qHQ kihW5LjlXaIGKHdEWuS+24I9vtPzB46l6QzVXm6iRv/qikmL2v6Ie+B94Wl7q56cM15lUw8soM3+K bOZuARKfDLmPCPXtnPqfvMJHX4VLVlgu/yKIhjG9cSQYUcTRaXgeGXFhZhcsgNgsjd7AaqSUosKfP Adl+OeC+o/mjScGak0+ot276hy9PnwpE9BOaMB78MSzy3TN6M33jOULpm3jzGqwVoW/pisJdw6vM3 NVXUymow==; Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnvA-00Gaqc-EW for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 19:01:26 +0000 Received: by mail-wm1-x32c.google.com with SMTP id z130so9801645wmg.2 for ; Thu, 20 May 2021 12:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zNl0TWlb/d8Kz2EbzgNPnXTHheMEm6iTFjb4mkLXVgg=; b=cweL21sTrIdENzyBjbborhA49uE2ipRCdgcwxowe9KOMrycs2dDLqF52GV+t90hRys IoJFqt7C4RAHRco24xXERn5nErc3/2rKcViylH/knoA36dFnenR8Yk7fa5K9LJyvLZPG +zl0Yye1+p0am3ozSkKClsbDZf9FATUp7VcvtMudJNq8zxdrja1ue5QMFoy/JoPG/L4P 5aCGsvvB4nM4CnJW5XwcOSMmKGRBlEzvrmFh9w0X07ywQuRY/fgrrbVmThddpI9T84rp C9x0JnIxFl5iAxMV6ozehCNRcPzX2mZWaRDgXhXham+/jdMdcWRa6PhjlnmEq4xSt1DT 134A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zNl0TWlb/d8Kz2EbzgNPnXTHheMEm6iTFjb4mkLXVgg=; b=GmV5koXsJjAI231/0dMC7GSqrlHgdgHocZbQakdPRnAh1TkP9U/V6dT/CweGt49mzI b1I+FJdDuIyzCiwJm5wG1tNJWtBPZMeDlZVjPZmrxcV8ayU+XtZ6PBDiiHQeVuzKR37L XBFZxzF4ygR27iR5ukL0u49zhT4dDmwU+0opFQ74K5tw6/U6P8HYJ9wbVk010Qd3eZT/ RwISlgPumySdb9DafvxexHh5auMuq3NI3lruTeUB1g/e+cl+jWAkrj2CGpeDChh7f261 4/clJUuuN/9yirdr6n2rJGNSXwavzwuXV9Vanb1M4ug1ibJz+chh061poj4Ofzgyh58W r7ag== X-Gm-Message-State: AOAM531Poc31Vx7eb/6uVdlQ396oWzfJZGn422cFeRjt42wYODSXsosK BuCw27TCzh/PBhCO5dahrzWe4g== X-Google-Smtp-Source: ABdhPJzxHkukShLJhUeulLdekCTyvrfuCDAywra0MTyFXRdW/ggmRXuGa47tGMYh9e/r2Cojvnu4XA== X-Received: by 2002:a05:600c:ad9:: with SMTP id c25mr4876956wmr.56.1621537281856; Thu, 20 May 2021 12:01:21 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:21 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Vladimir Zapolskiy , Dennis Kovalev , Vitaly Wool , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 11/16] i2c: busses: i2c-pnx: Provide descriptions for 'alg_data' data structure Date: Thu, 20 May 2021 20:01:00 +0100 Message-Id: <20210520190105.3772683-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_120124_512127_5DF5CD94 X-CRM114-Status: GOOD ( 14.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-pnx.c:147: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:147: warning: Excess function parameter 'adap' description in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:202: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:202: warning: Excess function parameter 'adap' description in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:231: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:231: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:301: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_rcv' drivers/i2c/busses/i2c-pnx.c:301: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_rcv' Cc: Vladimir Zapolskiy Cc: Dennis Kovalev Cc: Vitaly Wool Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Vladimir Zapolskiy --- drivers/i2c/busses/i2c-pnx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c index 8c4ec7f13f5ab..50f21cdbe90d3 100644 --- a/drivers/i2c/busses/i2c-pnx.c +++ b/drivers/i2c/busses/i2c-pnx.c @@ -138,7 +138,7 @@ static inline void i2c_pnx_arm_timer(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_start - start a device * @slave_addr: slave address - * @adap: pointer to adapter structure + * @alg_data: pointer to local driver data structure * * Generate a START signal in the desired mode. */ @@ -194,7 +194,7 @@ static int i2c_pnx_start(unsigned char slave_addr, /** * i2c_pnx_stop - stop a device - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Generate a STOP signal to terminate the master transaction. */ @@ -223,7 +223,7 @@ static void i2c_pnx_stop(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_xmit - transmit data to slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Sends one byte of data to the slave */ @@ -293,7 +293,7 @@ static int i2c_pnx_master_xmit(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_rcv - receive data from slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Reads one byte data from the slave */ From patchwork Thu May 20 19:01:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12271217 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76928C433B4 for ; Thu, 20 May 2021 19:06:54 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 05BF660FD9 for ; Thu, 20 May 2021 19:06:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05BF660FD9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zek0lL+l7d2SNTn7U49Q4CRAkeKH0C+I74dHNf3evMA=; b=P/6qzmPTnG9POO7F0o02ayOE8F dMd7uaI8NDB/BBkFyKxBCJ1dXUXorodJWqnE/QT4EFvbXLQUzmHqZIV40/P4H4tsgolR7ReDr4f/H n9eM9GI6Uj4UEOFpJANEgTCT8pbx/qhku4xX6SATpgS4CURODs2rRdUmBG7F4RKZCld8tyzlsyxlh qttsJcMhTbHM1EjIoauH/9fwF7L5JEBvqgAAg5qYQJ0mVKeKU+Pkjrs2UK9XSD3t2aNIzxsuW/bSQ 3TodCsTjQGebVpg/eEUew/G7ZxpJBxCgv++R9j01QnpNR7D/DthzdBnwinwEVG3q36EoxHNZ23J0q wfqx7yeQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnyH-002PjX-TY; Thu, 20 May 2021 19:04:40 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnvE-002Ogq-MK for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 19:01:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=BZ7o0VkeJdaRCEBQCoylzsFR/PU7XD67806SChIDBfA=; b=3U1n/Q5d8p9fpPmkQIp0L/Q0jl 6wDMG/15mnhUFtk0vPqFIm28qZazjgJf8Ot9KvGNHyBZ5BZpxQgkqPk+1zc+elNhO13CdIJLhtdoH DajQ2lPDpvX8V02g+yIx0hydPZ81ywdfrD8LcomqtBGXXzHEUuFasmlUPJlog+fLxaV1lK949qDoL WQTGJWlVeV8oIkSMPmlhqC1sN3oMJXlKdWVyC0MXWb0NMmNoGL42raxK6mhpiCmH546QwWEhD9yzz TRI2WatAg8x5k5Q4ZYGG8BJpJ+9KdFJDORAXPYJvgEOVFbBuV0ZFH3l86qyXQYM+rASa3rxIipRdL CRrYHYvA==; Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnvB-00Gaqt-3I for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 19:01:27 +0000 Received: by mail-wm1-x332.google.com with SMTP id z85-20020a1c7e580000b029017a76f3afbaso3306137wmc.2 for ; Thu, 20 May 2021 12:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BZ7o0VkeJdaRCEBQCoylzsFR/PU7XD67806SChIDBfA=; b=wbPg+IuSfX0setQllon8nmJmPS/4cMhSLYh+OMtByDo5xn7lI8FHKHdoVNbV/LGIrP ER51hBIw9kz45SxLR+H4payGvH5vH3Xe2a1B1+JjDCJmCFgUw+a+aBLOG/F4h35D9Mh+ lrLdT+ouYR2uAXXht4QXwLI0Vy1CSdH9ZXkxId5A68ASNvuRvGvO+d3PbD8Hfih/eq/1 tlFN2dojL9JyyElWP7Ks/N2j2uJe5zaBYsnOJjZGIlBLbwAKGrzlX4Zv5bUpiwLXv4Lm Zhh9rw24DY3J90i4yH04shJ2WWIroytFFauUUHB91/Ib9LM7kHT76rgqfKPHuRgV7t7j K33g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BZ7o0VkeJdaRCEBQCoylzsFR/PU7XD67806SChIDBfA=; b=TYLiLmAGoAxq5wRnqZx1CdqUOWJ03zTXXgO9R/iKXOOwJhcxxyOni5a+DUWT/pn2Yn iiHE67N7BnTWyzeFzoLUdHVrGKbEqZ4cZgYXM97Ut9aDMrF3bmWamcFRU1G6DPrfTIWs R0HwUD9HkkXgIzbFZbG6sEnhUX+eB5Q5Xj+LC2PbAaLkz+C3kQW8xmcp+Rk18LyGLEQw GfKjZhUA/3lbUrhFVnQyJiE2bi2X359uRxjymaEXmyMDCn+Z5s1bevoXJ3se1/r96P9O 5IQ8T1ZHubiE11L5GeUlaN1UlaOS3X45+s0Y6gEw5F/IKJTGHwrDtdN0hSL55y/e4qK6 lNyA== X-Gm-Message-State: AOAM531vkM3ZupK9LAZlOFqU+cIVGmc61zfFoof96cDnpIV0rfwOrwPT +g0KnB5zMTiUQfjtciSfITkLbQ== X-Google-Smtp-Source: ABdhPJzCaBtFp/3KcYEZ8YBWuCPtiaGYbMJURAiEOo9oNOZ0QSrbORhEb5JrppYxCy4bVZwNMF4jzQ== X-Received: by 2002:a05:600c:2312:: with SMTP id 18mr5660601wmo.0.1621537283254; Thu, 20 May 2021 12:01:23 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:22 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Heiko Stuebner , Max Schwarz , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 12/16] i2c: busses: i2c-rk3x: Demote unworthy headers and help more complete ones Date: Thu, 20 May 2021 20:01:01 +0100 Message-Id: <20210520190105.3772683-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_120125_146921_443657C3 X-CRM114-Status: GOOD ( 13.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-rk3x.c:242: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:261: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:304: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_prepare_read' drivers/i2c/busses/i2c-rk3x.c:304: warning: expecting prototype for Setup a read according to i2c(). Prototype was for rk3x_i2c_prepare_read() instead drivers/i2c/busses/i2c-rk3x.c:335: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_fill_transmit_buf' drivers/i2c/busses/i2c-rk3x.c:335: warning: expecting prototype for Fill the transmit buffer with data from i2c(). Prototype was for rk3x_i2c_fill_transmit_buf() instead drivers/i2c/busses/i2c-rk3x.c:535: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:552: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:713: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:963: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:973: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_setup' Cc: Heiko Stuebner Cc: Max Schwarz Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Heiko Stuebner --- drivers/i2c/busses/i2c-rk3x.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index 819ab4ee517e1..1dfbd1185aefc 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b/drivers/i2c/busses/i2c-rk3x.c @@ -238,7 +238,7 @@ static inline void rk3x_i2c_clean_ipd(struct rk3x_i2c *i2c) i2c_writel(i2c, REG_INT_ALL, REG_IPD); } -/** +/* * Generate a START condition, which triggers a REG_INT_START interrupt. */ static void rk3x_i2c_start(struct rk3x_i2c *i2c) @@ -257,7 +257,7 @@ static void rk3x_i2c_start(struct rk3x_i2c *i2c) i2c_writel(i2c, val, REG_CON); } -/** +/* * Generate a STOP condition, which triggers a REG_INT_STOP interrupt. * * @error: Error code to return in rk3x_i2c_xfer @@ -297,7 +297,7 @@ static void rk3x_i2c_stop(struct rk3x_i2c *i2c, int error) } } -/** +/* * Setup a read according to i2c->msg */ static void rk3x_i2c_prepare_read(struct rk3x_i2c *i2c) @@ -328,7 +328,7 @@ static void rk3x_i2c_prepare_read(struct rk3x_i2c *i2c) i2c_writel(i2c, len, REG_MRXCNT); } -/** +/* * Fill the transmit buffer with data from i2c->msg */ static void rk3x_i2c_fill_transmit_buf(struct rk3x_i2c *i2c) @@ -532,7 +532,7 @@ static irqreturn_t rk3x_i2c_irq(int irqno, void *dev_id) } /** - * Get timing values of I2C specification + * rk3x_i2c_get_spec() - Get timing values of I2C specification * * @speed: Desired SCL frequency * @@ -549,7 +549,7 @@ static const struct i2c_spec_values *rk3x_i2c_get_spec(unsigned int speed) } /** - * Calculate divider values for desired SCL frequency + * rk3x_i2c_v0_calc_timings() - Calculate divider values for desired SCL frequency * * @clk_rate: I2C input clock rate * @t: Known I2C timing information @@ -710,7 +710,7 @@ static int rk3x_i2c_v0_calc_timings(unsigned long clk_rate, } /** - * Calculate timing values for desired SCL frequency + * rk3x_i2c_v1_calc_timings() - Calculate timing values for desired SCL frequency * * @clk_rate: I2C input clock rate * @t: Known I2C timing information @@ -959,8 +959,8 @@ static int rk3x_i2c_clk_notifier_cb(struct notifier_block *nb, unsigned long } } -/** - * Setup I2C registers for an I2C operation specified by msgs, num. +/* + * rk3x_i2c_setup() - Setup I2C registers for an I2C operation specified by msgs, num. * * Must be called with i2c->lock held. * From patchwork Thu May 20 19:01:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12271219 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6ACD4C433ED for ; Thu, 20 May 2021 19:07:21 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EB60260E0C for ; Thu, 20 May 2021 19:07:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EB60260E0C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Vm5Innc8FZAWKbXGshFXqDLCmNozfKhVEsmOpyYhu8k=; b=NkE+7Wfrwvx/X1bwwcofGA3TB1 4/4I5m1TNIMmW6QQDnmmvG2uqwA9OzN2i8c8nG3fKvLAtLH/D2iuhFUMLZNyTb/cFCXNWactW7qIN Qc7S3Ijmhm4v9aEUr0VYrkgTAbmmy86hhrR2xeHH8UkKHrnwMCzjNueWphNUNhpoWKOhXOGTiwH7P mLXMgvAJnjqWEO5YrZ1e1u3p0HfFAhmp7YbzHzCQ/5xAcwJ7SaLESbiyluy4SF8tvAO0jL/sLzD2V VAVQZj9mtmfG9iCt06eWOzGBZzezxXw0owsJYr2sslXYk1a35oZbwT6YbunvKSvKJprCesaCbBXUW umlypePQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnyj-002Q0B-Eu; Thu, 20 May 2021 19:05:05 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnvE-002Ogp-K8 for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 19:01:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=loGMcp+zvtQjcUAqjhc/c8MuJfmRyYr1CiSfoFAmBjY=; b=PV6Vr929cBo4lhV8IiBJGDOT3i cUx6zJxdNIlsul40JMZf2lXk52g2i13p9T6lIwaV4WXRqRvOu5/0gHwoLqs8fapj/UCmF3Tl3ypZA EfSJuA7C/nGFDuNYQMwqXOlzi1VHV98H3NsvG40fhRqiHIq3JyDtXNGjtgPF8QAHvrnFynUBN0RbR YfG3lX4z1/Lj9lcU4YWI93PrjURzlTPFlQRc6qqOj5tp7hPPyMOQt7wPp9FMgRh/+A2GKTfXU4D8H W4kgvr26G1Heguwx6m5sy++Jng0EpFUGcPhOhiY95sej5FNjiQEhfcuAuAp1AKMeVkjfryoCE24yi RLVF4ALA==; Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnvC-00GarT-0J for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 19:01:27 +0000 Received: by mail-wr1-x429.google.com with SMTP id a4so18759199wrr.2 for ; Thu, 20 May 2021 12:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=loGMcp+zvtQjcUAqjhc/c8MuJfmRyYr1CiSfoFAmBjY=; b=RVcJhbK5OzGAKGhBEQ7dreDeedoEXywfTqMLZz/I3jtPJ+WHPz482VcaSmiR+xExyi 6lI0YSm+hJuZr9gzxRHrYTwSYYar40ln4SZ87ryqDaS2ulpP2BwusmytWxnNbdKIWqPz wWl0qd/mlECYGWTHddGX4MRG1AmI7gcafNkSNp+HVDYVByWgh74VzMXAUEQvbh9AON1W TLeGRfsxrh5G8f41eqKaBaxC2HPsMzH6o/nolH2BbGH0oxzDLQuAmR67Xflk9BDtRcZW dDaAGLRIT8l+iTmasRYoX1UEckXPlaFH9+OvxRJKIAOnYyYY0P6H0MsQzbZaQsDlX081 QURw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=loGMcp+zvtQjcUAqjhc/c8MuJfmRyYr1CiSfoFAmBjY=; b=U1W4AY2b/5jo3tLLOeg7LVmKAf++V5/Jm90CGx3BYuW67qh8yae3NBAwCJUlN+mfZI 5UPyDr+LlnhU12hmMzEsZRoMy9TPTWK8P6KW2+AE5F5mTfhrnRkQVFLz6/ir8yb8lwGC VqT1cNl0BibhL+EE4g3ipKZBEV7K+Ng6R0gWrkyZymlafwchTTN1ppo0hp6VMs57Gtqa 8Qg8IAezZ94Ou9/Yk4Ldt/Zi7O/uXey7ty0IWTlZrGyD1ZKFldMAp+/JaTlANHmu8g1w EzNwV5vyaw4sA65trthlmgKfU4lSoufuZhVhtSLQ26Af+jYb9bst0Uqf7yPDeMuy+AcM Gvtw== X-Gm-Message-State: AOAM533I6nATyuiVAdWm8bPgD48VTtf2mPNN8jrT5fDEBlLmt1u3SorH nYyI3d4Gyly+/zO4Wln3LiWr2A== X-Google-Smtp-Source: ABdhPJyJdvsBbfHcoAXj7al8tK05VZhCy3FTeBXG7MNR7954PwJVyYLTR97iocGRI99ppqAEGOvvFQ== X-Received: by 2002:adf:e0c6:: with SMTP id m6mr5977858wri.66.1621537284229; Thu, 20 May 2021 12:01:24 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:23 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Patrice Chotard , Maxime Coquelin , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 13/16] i2c: busses: i2c-st: Fix copy/paste function misnaming issues Date: Thu, 20 May 2021 20:01:02 +0100 Message-Id: <20210520190105.3772683-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_120126_072627_4A00A317 X-CRM114-Status: GOOD ( 12.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-st.c:531: warning: expecting prototype for st_i2c_handle_write(). Prototype was for st_i2c_handle_read() instead drivers/i2c/busses/i2c-st.c:566: warning: expecting prototype for st_i2c_isr(). Prototype was for st_i2c_isr_thread() instead Cc: Patrice Chotard Cc: Maxime Coquelin Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Alain Volmat --- drivers/i2c/busses/i2c-st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c index faa81a95551fe..30089b38044b5 100644 --- a/drivers/i2c/busses/i2c-st.c +++ b/drivers/i2c/busses/i2c-st.c @@ -524,7 +524,7 @@ static void st_i2c_handle_write(struct st_i2c_dev *i2c_dev) } /** - * st_i2c_handle_write() - Handle FIFO enmpty interrupt in case of read + * st_i2c_handle_read() - Handle FIFO enmpty interrupt in case of read * @i2c_dev: Controller's private data */ static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev) @@ -558,7 +558,7 @@ static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev) } /** - * st_i2c_isr() - Interrupt routine + * st_i2c_isr_thread() - Interrupt routine * @irq: interrupt number * @data: Controller's private data */ From patchwork Thu May 20 19:01:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12271211 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8A5FC433B4 for ; Thu, 20 May 2021 19:06:08 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5C3A561244 for ; Thu, 20 May 2021 19:06:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5C3A561244 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wmfxXC1J0XWOCiU3r7coyC1DaWRjIft8iJ87nwfDmiY=; b=gw3nnpHOSsrlRCwBf5kedXqzQQ N00UCdXZ7de/JVcU56RnsTbYveSyqLTRrGId+ZQXJghYE111k0w9hGsQEJ/VwnVoXSG8mHuFp/g4j 22SZo+w4banahAI3o5szTmHPNPuKU3kfZ7VHuccrA5oRGIR9zOOF7t2iNePQHP/sViKdjspy9A+Fp 8mjCkHFdWsGmBxLSXB8RxDJf1xkL5LEf5IKA+uNEPTOluIhjqpSjQ1F2eGkcK22UyXur50h4oVViD ywcm2UdACnJTOjIuRWuQ2BqCsBNKTBb5WGBcj6fp15yMjhoHLtUFATcfe888X9cYFvjFzrQQk9ZKi jU5UYymw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnxo-002PT7-Ib; Thu, 20 May 2021 19:04:09 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnvF-002Ogx-8u for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 19:01:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=fjcCUXPequaERL0iWKMvvnJNHWoIV+jPVNxaSD9GFTU=; b=UIMiOoDEl+UseY7D8IIV6bEoYU WG/XbHhjNka2h2Xmt992HkQJemLS8J7R37gRHcBKv7IwQ6mHlvQfSDaHv3uAl0hiquFyKECMLDlrE UUKBPhfh3WWTEWHBhcHUJ+QvSgO8oDpUKo9YCZs40Xfsrg5DHpbHGNBS2kO3hNKmqoH4vhBlxRrfp v4bExATFTVnCzcii8fAyPg44+VDVRy1HNxV1NoUwV7xNH9rL4eKhlNdXKwY4qwHQaXrbEBXOnc8t4 x78676RK1oQjQZ5VX3ox0DffhTaIHVjlyoyTxNKphB9/U93uW56QMamEyA+j64rETY8oVI7Z+w0qO 113cl8Ng==; Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnvC-00Garl-Gm for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 19:01:28 +0000 Received: by mail-wm1-x32f.google.com with SMTP id b7so9204992wmh.5 for ; Thu, 20 May 2021 12:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fjcCUXPequaERL0iWKMvvnJNHWoIV+jPVNxaSD9GFTU=; b=j+O1Mtk9M4NGgVt+3NsfiQd7A1ZWIT1Kke3k9FKKFxQ+RvhWemwcuBOP5fYr9xUV6d zVKuYUb6BJI/c93srLW6aahf54kj1sLFTE9oG7KgsxWQnQ+rolnTuGUQ6eMwmdLYrfX1 2HPgW3G3oRZUBe6AaKUsDwWch8gN3LBplctpv2Y9sGorHbhT3xxAXngG8jjkGwyt+6oz NTic7vEgZmDoMCC8dk0xJL17T/AcTA5vcHBBV/RZ8Jg191WCm5XGS/Zftm3ZiA8UOJIs iMHynJolI0QrcQGJBnNx4wEXycSwRzPvMC8+fMUG03wUoQaz8CsiguONaYCUZfmDUdos qBZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fjcCUXPequaERL0iWKMvvnJNHWoIV+jPVNxaSD9GFTU=; b=iOkFay8NlSyjz9DsKXEx8QDUKTZ8omz6pB9kM53mstcIeMctdfyKYqNFJAfhaG+CGA h3xvH8Bt45OengRnzZZD4Oj6GzkNcZVRhAncdrVY2T5sVaKglpLoDIAzmV70Gvbc2wXV aHuHVmASAClbGsSB3xOxftrpCM7+rKpcyJNXOZYPr5LujwHZyi1jJOTJxBsjK1ZKqusb 4zNhrstFg5mZifjIqHFLp4TF76x/0QhubfVzbef1XykimWmIgmTLiS8n+G0PsaDUk7jl gZxTyy9l0yshn+njpm02eIcdeB5ZN1kEcyC2yf1T+dUM+xg6dNE985IO1YDftzyINczg dOPA== X-Gm-Message-State: AOAM531WSekR0Q1faRAr0YlvhQiiTS9Wmg41vvgQfg6EsnYzNRwBlxJZ hNLtfLkAw73xElKlTk8s2zS5PQ== X-Google-Smtp-Source: ABdhPJw3QdxXdYb3YGeZ5nDe9KaL5FXMJWT8YGtBx3+uAxOifUAnuBCO5ExKWVHYpmm8HLWWMKfmvA== X-Received: by 2002:a1c:4482:: with SMTP id r124mr5513989wma.42.1621537285341; Thu, 20 May 2021 12:01:25 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:24 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pierre-Yves MORDRET , Alain Volmat , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Cedric Madianga , linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 14/16] i2c: busses: i2c-stm32f4: Remove incorrectly placed ' ' from function name Date: Thu, 20 May 2021 20:01:03 +0100 Message-Id: <20210520190105.3772683-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_120126_575853_4D4327A8 X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-stm32f4.c:321: warning: expecting prototype for stm32f4_i2c_write_ byte()(). Prototype was for stm32f4_i2c_write_byte() instead Cc: Pierre-Yves MORDRET Cc: Alain Volmat Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: Philipp Zabel Cc: Cedric Madianga Cc: linux-i2c@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones Reviewed-by: Alain Volmat --- drivers/i2c/busses/i2c-stm32f4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-stm32f4.c b/drivers/i2c/busses/i2c-stm32f4.c index 4933fc8ce3fd1..eebce7ecef25b 100644 --- a/drivers/i2c/busses/i2c-stm32f4.c +++ b/drivers/i2c/busses/i2c-stm32f4.c @@ -313,7 +313,7 @@ static int stm32f4_i2c_wait_free_bus(struct stm32f4_i2c_dev *i2c_dev) } /** - * stm32f4_i2c_write_ byte() - Write a byte in the data register + * stm32f4_i2c_write_byte() - Write a byte in the data register * @i2c_dev: Controller's private data * @byte: Data to write in the register */ From patchwork Thu May 20 19:01:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12271221 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15962C43460 for ; Thu, 20 May 2021 19:07:23 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8FF3261244 for ; Thu, 20 May 2021 19:07:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8FF3261244 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9rwEiNoXKZRJ9s6iibqyQsPmi6Fuz0Y8IH5Z5Kl/40g=; b=jRr+/EyEJChKL2VprSpmXiWPRa rmzxk8jB67ms4qA6uUPhGmRybH4Wf+Z/s3ugnWsFtZfxJ0jHSwh2rIvuMl6ohGTeC+0QUU935hfXE 8V00upUA3dx3U/2+VjwFal/Pf1PtPHH2/CKipJNATL4trAmDPwJ43nG2eFP7nxyJEP5KSLGgz014r IB79qPmGkTalMkft9JRtVel3hkdcFt8vZwVBqeedFdc7WxzqYUs9z38yAjnC9NH9q5HCHGPiGkGAY XluhoqHL/VELuP/ZLIcgjCI62Dhej8P3foz6JlZWq/wyAp3AfI4nJORd8OMMuPc6G/Bqrp0d9OPe5 ICmj0pfg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnzD-002QGb-R7; Thu, 20 May 2021 19:05:36 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnvH-002OhR-A0 for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 19:01:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=HIrBOeC01necSSZBh3WJb8n11gnvVfu7DpmNSO/Nbdk=; b=Dc6etY6hnwdDQuXsVtVwY2apNn WJn5ZFPH/fSH8rf592MnnvvS1kNLvrTa6FbyT9VNQLF6LEY11vVJ58QPKnTiF5zIvDj0tIUr790Jn BFFyhNLrQZMjGdU+c+UQV7R2C/KYVSIY54p61Vc1JGUyqRUTBmSL+1VkeYlyzptcKFqDYHhZhDdXP 3Jk7v61xSVYFex619hP6A3N4nln00B0Piec1qovshbB5747imuGX9Pgbd/vk5SvnDe+SqiUffutVZ C9ZShPH4Fl18/z9KIObSswoXgWrS3pfYhkcIosoEj3bSjkuYAXca6J8Sg3PspBftBIEkXSrD/+DQC MKdhblvg==; Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnvE-00GasU-QS for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 19:01:30 +0000 Received: by mail-wm1-x32b.google.com with SMTP id z19-20020a7bc7d30000b029017521c1fb75so6058948wmk.0 for ; Thu, 20 May 2021 12:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HIrBOeC01necSSZBh3WJb8n11gnvVfu7DpmNSO/Nbdk=; b=S3VMEbyBQOtP5mk7L4Z0kvrmwSyAW1Az4ghiLWeUSLmnTheeBe4hplHB1pAfjXxk2J 1pdySSLkVm+SbFZQqIcOqNLzRgLxn5Dw8p9ITAHRa62sw6sXKC6e3D6blDS/NwyJkHmi d3YGCv/Oe/75D6LdEeM5qVHnwKZ4YneLFby22O/hAjtfCWD9jHkAsQsSLXOOUZv43R7p K266NV2hzw1ZXt6YkStFZL72OD5a52ptCEgGG/wVx0q9yxogfUa45qb5iXZEET2V8Sph AKOpN+Ip03iiVjRhufVncdAvwW+Bax1bJL3KOBBSpvpNgYooC3uFDExasyMCr1gkLq2b hE6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HIrBOeC01necSSZBh3WJb8n11gnvVfu7DpmNSO/Nbdk=; b=VrVHcvCONXWJ+g3guwidMY5RwsJsZgwJ26zjyFN+duUz7+YKiFuSqjSGJFdPvC0Ouu qFJ8zs0YZdYeY5WKkccYBGHe4p8cCfFf6yyVUcUZ/glgl+hAwefvQ7BHQNF4o3ql/MLK N3/X7m+YC47BPu+iwnW4hUo3HlT1W/bsPzeOfzt/dy8eHdUhRs/VdbBpdsySP6qdDlDH JMUbuWkBVaQBuQyiQ10r+XNlti3x0JJ39E4/RlDLXY1RFYpmW8efUsA1jLj+qTzVoQIj 91MuJkJ/Foi8tlR90oV2Rufdj9kNNbFVG0Ld7LAnOFNl7hv44sdIqHGCFApcAXNe68IV dX5A== X-Gm-Message-State: AOAM530ZRegF0M8Nvv3PDPkyt3v/XHvUOM3KRiADdOcugdNe559vxP6t 0ib22BmMPmO5bmUO9gCAiLBmgw== X-Google-Smtp-Source: ABdhPJy8x+5IqIuAaGa3Pu0VZAqeQTQc8GGW/aqUrprIq9Qhf0ZRha2icrPTKw33qAJIeBV/l2AHhA== X-Received: by 2002:a05:600c:2cd2:: with SMTP id l18mr4974579wmc.142.1621537287095; Thu, 20 May 2021 12:01:27 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:26 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Patrice Chotard , Maxime Coquelin , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 16/16] i2c: busses: i2c-st: trivial: Fix spelling issue 'enmpty => empty' Date: Thu, 20 May 2021 20:01:05 +0100 Message-Id: <20210520190105.3772683-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_120128_873826_48690C5A X-CRM114-Status: GOOD ( 12.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Cc: Patrice Chotard Cc: Maxime Coquelin Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Alain Volmat --- drivers/i2c/busses/i2c-st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c index 30089b38044b5..88482316d22a0 100644 --- a/drivers/i2c/busses/i2c-st.c +++ b/drivers/i2c/busses/i2c-st.c @@ -524,7 +524,7 @@ static void st_i2c_handle_write(struct st_i2c_dev *i2c_dev) } /** - * st_i2c_handle_read() - Handle FIFO enmpty interrupt in case of read + * st_i2c_handle_read() - Handle FIFO empty interrupt in case of read * @i2c_dev: Controller's private data */ static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev)