From patchwork Mon Dec 18 06:08:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 180144 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1054049dyi; Sun, 17 Dec 2023 22:08:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2FdiUt75LTleMLQ2fqxT1jZLXHsIo0cUtbhSqlOVRNNsN3fABBc7bJCYpFciQIdMQz/eS X-Received: by 2002:a17:902:e852:b0:1d0:6ffd:ceaf with SMTP id t18-20020a170902e85200b001d06ffdceafmr9679972plg.104.1702879739125; Sun, 17 Dec 2023 22:08:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702879739; cv=none; d=google.com; s=arc-20160816; b=jYPB/J1yWAB/WxAk/qOoVCQeozyTmGgJGJu6Z5Rl2wvmBfXYfX/4bo6c2TqCf/qJcb vgNX6aDHXH3miF9tUYieCLzyz3Xxa9NQhyhnzAP4kNoEl3RteGbFu8cNUdgm1/0wwEr+ TECzDPwdoA2ZVOlLOgJw7+fbtsg801EyuDvJ30m6++cc8EaV7DZzkWf4PPZGDw+7Zh4O R1uYjXAIFMNjnONuhM9+2u0elu8ajDrE8JbkEBmeqhfng8qhzCqqXsBfaysBAtJpMd3+ koAm+drEB2vT5MNiLlh4VBg3MVCUfViTzM+rl1Aa8BrY6La6H7fqYeuAFCe6eLJxdsjm snUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=VhRO85FdTj+UlavJCsN+ZgrYdj3Kvcs7/EpNRYGwNyo=; fh=KllP3pNCsMG1dOpDJT8fonM8dEToRNFHUDGxCTv52Jg=; b=phk9IbK/SmiYczCSrcoYFGBr36kazPkfuRcWA8NSUOMCbjecircCfqfjoXF/myokRf cibtJwlL3GJ2k5hl3Qp6JpNw8ymgwpMsZGkMWkFll7ilV9HfrM8Q08YboeZHDAH8j2jW I1HB2E/U0SRgAXBiScWJKNIUzkhQh7nMlHgyjR983bA9S7eKqVJaDBjGv8yEznts4djY YTp0ukRZc2LhNox7iSGqN6QsTQrAJHpuDgcmb+XTX/n6NeOXiZtlllUZvf3627rkO1z2 b7tHWdjXZmD/LyRpPs2btDw3r6BDRVcsg09tRY6IcFoiy17Ju4Ognm3YApD+8ctuKbb+ +sog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=dwTOrS81; spf=pass (google.com: domain of linux-kernel+bounces-3024-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3024-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q14-20020a170902dace00b001cfcd2e1294si17816392plx.241.2023.12.17.22.08.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 22:08:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3024-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=dwTOrS81; spf=pass (google.com: domain of linux-kernel+bounces-3024-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3024-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E0BF12821F9 for ; Mon, 18 Dec 2023 06:08:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 954DD7466; Mon, 18 Dec 2023 06:08:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="dwTOrS81" X-Original-To: linux-kernel@vger.kernel.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.subspace.kernel.org (Postfix) with ESMTPS id 4D5766FAB; Mon, 18 Dec 2023 06:08:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org 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:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=VhRO85FdTj+UlavJCsN+ZgrYdj3Kvcs7/EpNRYGwNyo=; b=dwTOrS811A3SGcz3EpjLvVWrVn Ft/I3aTOznNgKSjT6lnIc+xRB1zYT8n0KxS3f6xDTTD2tD5LhsfCIBWXTsTTtEHdnGpaTIpYLG4sn iZCzjVoXEwJOsan+iLlz72SNJ020BN+IIEIjccZ431qE4bh9H4z/LEQx8qvodZGEIWhG/eKVcbEyA QUwvRWGDzmilfwXnVBGcSQKHTGT0eb1z/TNbeDy9UoCbCoRxOe/qu55iVobUTIHyShh79qQJyzs+b 0RdsJk9PEykYu7kCY9ODjX8WEQusY76Sxb6mR4gP+NNwEfpxc9vr5aIoayLS5OVGfFHwJOICwcOJS tpw3roUQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rF6nr-009BKq-1L; Mon, 18 Dec 2023 06:08:35 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Linus Walleij , linux-arm-kernel@lists.infradead.org, Vinod Koul , dmaengine@vger.kernel.org Subject: [PATCH] dmaengine: std_dma40: fix kernel-doc warnings and spelling Date: Sun, 17 Dec 2023 22:08:34 -0800 Message-ID: <20231218060834.19222-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785598825599764904 X-GMAIL-MSGID: 1785598825599764904 Correct kernel-doc warnings as reported by kernel test robot: ste_dma40.c:57: warning: Excess struct member 'dev_tx' description in 'stedma40_platform_data' ste_dma40.c:57: warning: Excess struct member 'dev_rx' description in 'stedma40_platform_data' Correct spellos as reported by codespell. Signed-off-by: Randy Dunlap Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202312171417.izbQThoU-lkp@intel.com/ Cc: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Reviewed-by: Linus Walleij --- drivers/dma/ste_dma40.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff -- a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -31,13 +31,11 @@ /** * struct stedma40_platform_data - Configuration struct for the dma device. * - * @dev_tx: mapping between destination event line and io address - * @dev_rx: mapping between source event line and io address * @disabled_channels: A vector, ending with -1, that marks physical channels * that are for different reasons not available for the driver. * @soft_lli_chans: A vector, that marks physical channels will use LLI by SW * which avoids HW bug that exists in some versions of the controller. - * SoftLLI introduces relink overhead that could impact performace for + * SoftLLI introduces relink overhead that could impact performance for * certain use cases. * @num_of_soft_lli_chans: The number of channels that needs to be configured * to use SoftLLI. @@ -184,7 +182,7 @@ static __maybe_unused u32 d40_backup_reg /* * since 9540 and 8540 has the same HW revision - * use v4a for 9540 or ealier + * use v4a for 9540 or earlier * use v4b for 8540 or later * HW revision: * DB8500ed has revision 0 @@ -411,7 +409,7 @@ struct d40_desc { * * @base: The virtual address of LCLA. 18 bit aligned. * @dma_addr: DMA address, if mapped - * @base_unaligned: The orignal kmalloc pointer, if kmalloc is used. + * @base_unaligned: The original kmalloc pointer, if kmalloc is used. * This pointer is only there for clean-up on error. * @pages: The number of pages needed for all physical channels. * Only used later for clean-up on error @@ -1655,7 +1653,7 @@ static void dma_tasklet(struct tasklet_s return; check_pending_tx: - /* Rescue manouver if receiving double interrupts */ + /* Rescue maneuver if receiving double interrupts */ if (d40c->pending_tx > 0) d40c->pending_tx--; spin_unlock_irqrestore(&d40c->lock, flags); @@ -3412,7 +3410,7 @@ static int __init d40_lcla_allocate(stru base->lcla_pool.base = (void *)page_list[i]; } else { /* - * After many attempts and no succees with finding the correct + * After many attempts and no success with finding the correct * alignment, try with allocating a big buffer. */ dev_warn(base->dev,