From patchwork Tue Feb 15 19:30:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 12747563 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3248AC433F5 for ; Tue, 15 Feb 2022 19:32:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=Tv98+S/AlOL47ufUh3Cs7pxpKhRzA4sReJuCUX29D2c=; b=XZ7wirAXC+cI3X t9j/7GwKjn0iKcF/SiEYwcDgljYINePEWqv//MMd6jFkBW0GxuAwrZaWj7E1G40x3LXafDtDNekZB ud7dWK5nk3ULZIJMha2TSckjosisLeKYAlDNOiVBJn/xFWaYT4iIpy5vggK+dEho82Qf7V+0Kkl/a qqDu1lCmpeHygDZeXL1MrkTU0dRrMXkl4xyUOzcTTuFcc/mi2lcYupucKGJAnPN552EOPtC9OZ28D eyaaDG+LozSTPRbWc6M+m7NLUSWlSra+NpOSSvBpugFSZFU8t2Wn+ca38Fq1NXsHugkoHvZuzt89b LgoAXHDXx8kSZ5yciruQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nK3XY-004KUl-5i; Tue, 15 Feb 2022 19:31:08 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nK3XS-004KTK-5u for linux-arm-kernel@lists.infradead.org; Tue, 15 Feb 2022 19:31:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644953461; 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=qHGc3lWJg2pqSw0iyqKF1wYg1gMLVmr0OdHv1eJKGAo=; b=akpLgC6SMhY0Vt/Az928O+J3cCh4mzJ0VUYvqHPFsu4Ld3m/d0lIBs567L4a1Eo4FEkUwL mzRgMT5iYr2tQtyQhZfV6i+lQM8m46SehQZ0RgORKR58Ld6i+nx1bKbZaYFlriyaqu+Mmr iBTzvUL0p9BXjQHDOnQGIqZLZe3R5UM= Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-169-x8ueDjMIPlKbq8FFuGU-1Q-1; Tue, 15 Feb 2022 14:30:59 -0500 X-MC-Unique: x8ueDjMIPlKbq8FFuGU-1Q-1 Received: by mail-oi1-f200.google.com with SMTP id h83-20020acab756000000b002d44065c578so41389oif.13 for ; Tue, 15 Feb 2022 11:30:59 -0800 (PST) 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=qHGc3lWJg2pqSw0iyqKF1wYg1gMLVmr0OdHv1eJKGAo=; b=ug6qZE1U9JimarvnN48JEYx0m9QXzQJGYBEEynN18gp82d3fF2nDOdaB3Cpuht1m9r gg4rd5HoXtpyUREglin9A93w9yBpHtYleSWsFMf/PghF2kgLrek9S4vWsbO0BNjysFND 91sE0T6zRl/2xZzrvgf5n/4HFNGh6UmkgtZ+V1g/F0dDo0VS2lTAbRjtGg5uphz5+YQu IbtQnqB7LGch1o3EpiJvLC/vf+PZ7M+/gEuHnPOGIL3ZvrHxlErAAzZ1kgMGwbWmOab0 QBMlG1TlSz1sCvgZvXYLBTA/1ieBLudQhw/NVa3nugz0CGqwsibxUcNBnCfFx7CAHF7k tQqA== X-Gm-Message-State: AOAM532DNtF8pY4l3Au+VcBHBQVT71hYZUzYHgYg6DX/lNCEPoRxnEkw f8T+BfLxzq8r9KMfk10Wp+96I6IYrNqw9VbDWWcCOuD0bKvenzK/QyiHK8MZSHYHB9AefFC3hQl JaFrZwevdEny4KwDAeLa+zdIL3SsrUCeB3fM= X-Received: by 2002:a9d:758e:: with SMTP id s14mr147336otk.32.1644953458929; Tue, 15 Feb 2022 11:30:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6/ssg3bB2LJ6vYV00tJ2Gl8yteMQjJzsxm6tUe7YxWgH9/pNjs8axhwokSjOUYEXKz4yv+w== X-Received: by 2002:a9d:758e:: with SMTP id s14mr147327otk.32.1644953458667; Tue, 15 Feb 2022 11:30:58 -0800 (PST) Received: from localhost.localdomain.com (024-205-208-113.res.spectrum.com. [24.205.208.113]) by smtp.gmail.com with ESMTPSA id f8sm6095715oou.19.2022.02.15.11.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 11:30:58 -0800 (PST) From: trix@redhat.com To: arnd@arndb.de, gregkh@linuxfoundation.org, michal.simek@xilinx.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] xilinx_hwicap: cleanup comments Date: Tue, 15 Feb 2022 11:30:54 -0800 Message-Id: <20220215193054.3032955-1-trix@redhat.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=trix@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220215_113102_376576_DE2A8496 X-CRM114-Status: GOOD ( 14.99 ) 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 From: Tom Rix Remove the second 'the'. Replacements: was to what intiate to initiate Signed-off-by: Tom Rix --- drivers/char/xilinx_hwicap/fifo_icap.c | 2 +- drivers/char/xilinx_hwicap/xilinx_hwicap.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/char/xilinx_hwicap/fifo_icap.c b/drivers/char/xilinx_hwicap/fifo_icap.c index 02225eb19cf6..619f3a30ec55 100644 --- a/drivers/char/xilinx_hwicap/fifo_icap.c +++ b/drivers/char/xilinx_hwicap/fifo_icap.c @@ -111,7 +111,7 @@ static inline u32 fifo_icap_fifo_read(struct hwicap_drvdata *drvdata) } /** - * fifo_icap_set_read_size - Set the the size register. + * fifo_icap_set_read_size - Set the size register. * @drvdata: a pointer to the drvdata. * @data: the size of the following read transaction, in words. **/ diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/char/xilinx_hwicap/xilinx_hwicap.c index 067396bedf22..74a4928aea1d 100644 --- a/drivers/char/xilinx_hwicap/xilinx_hwicap.c +++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.c @@ -241,7 +241,7 @@ static int hwicap_command_desync(struct hwicap_drvdata *drvdata) buffer[index++] = XHI_NOOP_PACKET; /* - * Write the data to the FIFO and intiate the transfer of data present + * Write the data to the FIFO and initiate the transfer of data present * in the FIFO to the ICAP device. */ return drvdata->config->set_configuration(drvdata, @@ -297,7 +297,7 @@ static int hwicap_get_configuration_register(struct hwicap_drvdata *drvdata, buffer[index++] = XHI_NOOP_PACKET; /* - * Write the data to the FIFO and intiate the transfer of data present + * Write the data to the FIFO and initiate the transfer of data present * in the FIFO to the ICAP device. */ status = drvdata->config->set_configuration(drvdata, @@ -384,7 +384,7 @@ hwicap_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) drvdata->read_buffer + bytes_to_read, 4 - bytes_to_read); } else { - /* Get new data from the ICAP, and return was was requested. */ + /* Get new data from the ICAP, and return what was requested. */ kbuf = (u32 *) get_zeroed_page(GFP_KERNEL); if (!kbuf) { status = -ENOMEM;