From patchwork Sat Dec 23 05:06:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 182921 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1495994dyi; Fri, 22 Dec 2023 21:07:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEBs7tz5Ce/2BDVp8ynWgYIpS+bmt9LO2bMiNWbRXjLPB8YKMUZMJtGn2aiIfnCGzTF/kPT X-Received: by 2002:aca:121a:0:b0:3ba:3cee:cf50 with SMTP id 26-20020aca121a000000b003ba3ceecf50mr2359566ois.111.1703308048951; Fri, 22 Dec 2023 21:07:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703308048; cv=none; d=google.com; s=arc-20160816; b=mDsU0eq2B5OOzXesWhiWq5/2mwy5+IA3HN2wx5bn7qM5O+I/zXYzjGwk44oPJ+wE1i E1a4NDyl9usQc3WidZjWg8OF+6zHCEdKT6gYk7H7OuagZ8IM6bHqsUaA+XJG2PBQDX68 IXHYRXCrqVctqClwGpLqsmilfjTYprRpOD3FYxUiear3+l0R+ydt219BqGYNJL5+cWJ5 Ga42poqslX6+7nKTodjHaGttsVMnrkssuqfcuN8wMdYIjKGbw1rQyXTjkBanr8zUsTD+ pkCI6qPYOhUhm+waBOgRDbIwn5Hp8P3cL3Yt35rjQHC5bOm0Q7OmCZJE9M0eFAkGdrC7 ILYw== 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=TecqbtCcymQ3rvhJ2ZipmZypmX00cwuzg6ClZBGWfU4=; fh=m/erV3Be9dOTsbMYo4/RywmS80VlSE1elMkBxjiGDQE=; b=jqFOiB2KEKF2SJ9Gz761HKIzSACBGhES+WzkAJEQ7CcyyYs3LgVLOBIAzrk8aFSvCP va4fIcZHQ0q5AYFyWJvs+0zW0KKVtH+zz/T1wpp+BpSU2nPn1OtrUqLhs73LSVycJJOn H/Mzl6CZNa/NEcJPE4OJ37t4P8ZHEs2v56n5P5wDs8rwsrHEA5AHYJiV+A+cMAUjCkAy 8h9HowD4uDp60ivIetPCLRAoXsmbZhJf3sy75nhw1zW9MLLtoT4LE3sioVMFUUMkREXh QbD3o7Ff2p9RHds5EpThfS27qJQyFdzeWK/jeosKqfGSf5B1djnsjty8M7k64X+3xjF/ OfGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=CURBrnjb; spf=pass (google.com: domain of linux-kernel+bounces-10302-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10302-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c76-20020a63354f000000b005c66e020cb7si4269085pga.713.2023.12.22.21.07.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 21:07:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10302-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=CURBrnjb; spf=pass (google.com: domain of linux-kernel+bounces-10302-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10302-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 B13CA2850C4 for ; Sat, 23 Dec 2023 05:07:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2A1EC8F4; Sat, 23 Dec 2023 05:06:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="CURBrnjb" 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 EC49B6107; Sat, 23 Dec 2023 05:06:30 +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=TecqbtCcymQ3rvhJ2ZipmZypmX00cwuzg6ClZBGWfU4=; b=CURBrnjbUmS/0otY8oX7VJL3Y4 ppkWhmCvhQRiq6/hYB6K9jCPxF4ayRgFifYxGdQk8msGwbAHBZVLni3RhDnpeR0KMGLhFZUVpEO7t w7t6HZQ5L4EBSPQhLn6D3nOZFpgJvf36KsexWlNQHJw2/r8rczyNpwUqAieT5iacYzu7SLQQdeSUf uCKxk0b3oUzR0OsG+rbCgw4CqpfshqrPUB0IsTVJFdgNlhXUJ/vaXWRXFvNxjQ3sQiO+yPKMvQNB1 Yks7+Qp2IgNczFMTWbmW05d/A+NvHciu8zTeSNM4VZe5Q39Bk0EzkKchxOvYHWYWULyzX+/sr8RZQ yZxyoTCQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rGuDW-007OlN-1i; Sat, 23 Dec 2023 05:06:30 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Mark Brown , linux-spi@vger.kernel.org Subject: [PATCH] spi: linux/spi/spi.h: fix Excess & missing kernel-doc description warnings Date: Fri, 22 Dec 2023 21:06:30 -0800 Message-ID: <20231223050630.14008-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: 1786047940830444111 X-GMAIL-MSGID: 1786047940830444111 Remove one struct member description and add another one to prevent the kernel-doc warnings: include/linux/spi/spi.h:778: warning: Function parameter or struct member 'last_cs_index_mask' not described in 'spi_controller' include/linux/spi/spi.h:778: warning: Excess struct member 'multi_cs_cap' description in 'spi_controller' Signed-off-by: Randy Dunlap Cc: Mark Brown Cc: linux-spi@vger.kernel.org --- include/linux/spi/spi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -- a/include/linux/spi/spi.h b/include/linux/spi/spi.h --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -422,8 +422,6 @@ extern struct spi_device *spi_new_ancill * @bus_lock_spinlock: spinlock for SPI bus locking * @bus_lock_mutex: mutex for exclusion of multiple callers * @bus_lock_flag: indicates that the SPI bus is locked for exclusive use - * @multi_cs_cap: indicates that the SPI Controller can assert/de-assert - * more than one chip select at once. * @setup: updates the device mode and clocking records used by a * device's SPI controller; protocol code may call this. This * must fail if an unrecognized or unsupported mode is requested. @@ -454,6 +452,7 @@ extern struct spi_device *spi_new_ancill * @cur_msg_mapped: message has been mapped for DMA * @last_cs: the last chip_select that is recorded by set_cs, -1 on non chip * selected + * @last_cs_index_mask: records value of the last @cs_index_mask in &spi_device * @last_cs_mode_high: was (mode & SPI_CS_HIGH) true on the last call to set_cs. * @xfer_completion: used by core transfer_one_message() * @busy: message pump is busy