Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6462494rdb; Thu, 14 Dec 2023 21:39:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGsCDCMuyXpex92PS4PpyAcUzncp9xHwYCkW3zFG614mn7BcjjI8oB6WvCO8jKpi9iplwjE X-Received: by 2002:ac8:5bce:0:b0:423:8e6a:f7a with SMTP id b14-20020ac85bce000000b004238e6a0f7amr16251997qtb.64.1702618753331; Thu, 14 Dec 2023 21:39:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702618753; cv=none; d=google.com; s=arc-20160816; b=dsd0KC488TQ9Q6AcjxgVEKe4ztVvao6ogtZDEjmJDZHusNLM1feOCFM9djBrdScY1u RLEFRZyBQJ5GymQ9N4JAhBoQQHkwUllrCwVe+eIFhBLkVdG0/1GaDJU7uiRP9D8pBfv7 E12W1dblttzRtq+6mp5CGaeuKwNiIwnJWeCzH3Fl0qLqxxKy6rTY+a4s7h7RUFLEFv95 qLbwKBh/gsREHtaLat6wsCDJv5eVZ0UrcHiR8E4pMWEQleS/9rAjZcuJy6YHZ+Z6LmpH heBwCDEXQKijOe9XEErNNFB3fi8Pog+IzhmPpFp84DuLhK+KoHzJeORx9ub2NpQhh+G0 ZE/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=8O2wI3h+tlG4jUHDYFtLk05WfU4ggOxt6a77A4Jvvx8=; fh=K6BhGLCMCFbBJVplW753R/npVcPqrhQ6KWVlApvSSG4=; b=dyN7OS/zUjFrMqx0R6SRmbnmrchFiw7fyqxKFZHgD2qFYMNJimLGVJ6Xc/iHZEgdUi hlIjGsB7YTg6W7H1j0MP6XkgKfW+fCLbJITfkpq5x2YqoCrYAXBFr/H3AOG/EkYuQPlb EztKxS7FQ0+QbCOiWNxkvZukg0ogQr7vWWON3ffFNz2Ok7OFufXy69DT8Xhw28Q423T3 +yhoexIiKeDNwyOjhoDNIDUbW6X5yRHSl2cq0XryG0BssUee2Qm/ytcjWZDt2Lpo2Zfs tQWGs4Bb2T90Rye4yOIyCxEX0DJi37YryE6Gf5MZETV13j/wD1tAJuMZUMNp4fCChicM ItAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SQtcW1Tw; spf=pass (google.com: domain of linux-kernel+bounces-458-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-458-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jv11-20020a05622aa08b00b004239530d5dcsi15937332qtb.781.2023.12.14.21.39.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 21:39:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-458-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SQtcW1Tw; spf=pass (google.com: domain of linux-kernel+bounces-458-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-458-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0C88E1C224F5 for ; Fri, 15 Dec 2023 05:39:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 827B2CA70; Fri, 15 Dec 2023 05:38:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="SQtcW1Tw" 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 A56D9107A4; Fri, 15 Dec 2023 05:38:37 +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: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=8O2wI3h+tlG4jUHDYFtLk05WfU4ggOxt6a77A4Jvvx8=; b=SQtcW1TwI6CtSYQNM9N2Un+zmb pLJJBLisllIsSCijzEj/n3mz5lqqoIv6Av3R3svy3eaGRsEa41OQqcGASc8ivCpLzlRDXCPdBRddt 5h8WFo9kdZqon2wnlEsuppp9N92Yevrg0+6DkkQp5+f2iz43Dg7oVceuOq1I/QRXXhrWHK1RhL+Oh xeSiJMAT3aepfmXLj/ULA0CmcuAU24uZQz3esdLDk0o0P0QhRwRWBg1zCyIuGGhxaL8rMJcTgAItS +//FUSYHp+o7aEbumnuiJZDraIPvQWKJzpvDTgTceDP/ebOmQmx3flkpnUzcLPUPofiZAW21OGENZ v0CsV8CA==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rE0uD-0025WF-0Y; Fri, 15 Dec 2023 05:38:37 +0000 Message-ID: <41c2d210-6294-491f-9926-f922fc94c321@infradead.org> Date: Thu, 14 Dec 2023 21:38:36 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] scripts/kernel-doc: restore warning for Excess struct/union Content-Language: en-US To: kernel test robot , linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Mauro Carvalho Chehab , linux-media@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org References: <20231214070200.24405-1-rdunlap@infradead.org> <202312151356.OZmUHKRx-lkp@intel.com> From: Randy Dunlap In-Reply-To: <202312151356.OZmUHKRx-lkp@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/14/23 21:35, kernel test robot wrote: > Hi Randy, > > kernel test robot noticed the following build warnings: > That's great. Thanks. > [auto build test WARNING on lwn/docs-next] > [also build test WARNING on linus/master v6.7-rc5 next-20231214] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Randy-Dunlap/scripts-kernel-doc-restore-warning-for-Excess-struct-union/20231214-150722 > base: git://git.lwn.net/linux.git docs-next > patch link: https://lore.kernel.org/r/20231214070200.24405-1-rdunlap%40infradead.org > patch subject: [PATCH] scripts/kernel-doc: restore warning for Excess struct/union > config: arm-randconfig-r081-20231214 (https://download.01.org/0day-ci/archive/20231215/202312151356.OZmUHKRx-lkp@intel.com/config) > compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231215/202312151356.OZmUHKRx-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202312151356.OZmUHKRx-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > >>> drivers/gpio/gpio-syscon.c:46: warning: Excess struct member 'compatible' description in 'syscon_gpio_data' > -- >>> drivers/gpio/gpio-xilinx.c:75: warning: Excess struct member 'irqchip' description in 'xgpio_instance' > -- >>> net/tipc/link.c:228: warning: Excess struct member 'media_addr' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'timer' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'refcnt' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'proto_msg' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'pmsg' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'backlog_limit' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'exp_msg_count' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'reset_rcv_checkpt' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'transmitq' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'snt_nxt' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'deferred_queue' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'unacked_window' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'next_out' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'long_msg_seq_no' description in 'tipc_link' >>> net/tipc/link.c:228: warning: Excess struct member 'bc_rcvr' description in 'tipc_link' > -- >>> net/tipc/node.c:150: warning: Excess struct member 'inputq' description in 'tipc_node' >>> net/tipc/node.c:150: warning: Excess struct member 'namedq' description in 'tipc_node' > -- >>> net/tipc/socket.c:143: warning: Excess struct member 'blocking_link' description in 'tipc_sock' > -- >>> drivers/hte/hte.c:90: warning: Excess struct member 'ei' description in 'hte_device' > -- >>> drivers/i2c/i2c-atr.c:98: warning: Excess struct member 'adapter' description in 'i2c_atr' > -- >>> drivers/leds/leds-lm3697.c:93: warning: Excess struct member 'leds' description in 'lm3697' > -- >>> drivers/leds/leds-mlxreg.c:42: warning: Excess struct member 'led_data' description in 'mlxreg_led_data' > -- >>> drivers/of/property.c:1240: warning: Excess struct member 'parse_prop.np' description in 'supplier_bindings' >>> drivers/of/property.c:1240: warning: Excess struct member 'parse_prop.prop_name' description in 'supplier_bindings' >>> drivers/of/property.c:1240: warning: Excess struct member 'parse_prop.index' description in 'supplier_bindings' > -- >>> drivers/reset/core.c:64: warning: Excess struct member 'rstc' description in 'reset_control_array' > .. > > > vim +46 drivers/gpio/gpio-syscon.c > > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 23 > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 24 /** > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 25 * struct syscon_gpio_data - Configuration for the device. > 5f3beb67b5d1c5 Lee Jones 2020-06-30 26 * @compatible: SYSCON driver compatible string. > 5f3beb67b5d1c5 Lee Jones 2020-06-30 27 * @flags: Set of GPIO_SYSCON_FEAT_ flags: > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 28 * GPIO_SYSCON_FEAT_IN: GPIOs supports input, > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 29 * GPIO_SYSCON_FEAT_OUT: GPIOs supports output, > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 30 * GPIO_SYSCON_FEAT_DIR: GPIOs supports switch direction. > 5f3beb67b5d1c5 Lee Jones 2020-06-30 31 * @bit_count: Number of bits used as GPIOs. > 5f3beb67b5d1c5 Lee Jones 2020-06-30 32 * @dat_bit_offset: Offset (in bits) to the first GPIO bit. > 5f3beb67b5d1c5 Lee Jones 2020-06-30 33 * @dir_bit_offset: Optional offset (in bits) to the first bit to switch > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 34 * GPIO direction (Used with GPIO_SYSCON_FEAT_DIR flag). > 5f3beb67b5d1c5 Lee Jones 2020-06-30 35 * @set: HW specific callback to assigns output value > 2c341d62eb4b69 Grygorii Strashko 2014-09-03 36 * for signal "offset" > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 37 */ > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 38 > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 39 struct syscon_gpio_data { > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 40 unsigned int flags; > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 41 unsigned int bit_count; > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 42 unsigned int dat_bit_offset; > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 43 unsigned int dir_bit_offset; > 2c341d62eb4b69 Grygorii Strashko 2014-09-03 44 void (*set)(struct gpio_chip *chip, > 2c341d62eb4b69 Grygorii Strashko 2014-09-03 45 unsigned offset, int value); > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 @46 }; > 6a8a0c1d87377c Alexander Shiyan 2014-03-11 47 > -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html