From patchwork Tue Sep 19 19:50:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 142268 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp3953195vqi; Wed, 20 Sep 2023 00:54:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGAS77VuHrjDnPuUCVaP7pt30yylldGPLbEdzNcehLSWJPxq09FjAEQA/FMsza0+o22CQ16 X-Received: by 2002:a05:6102:3032:b0:452:78e2:4a07 with SMTP id v18-20020a056102303200b0045278e24a07mr2002161vsa.8.1695196462415; Wed, 20 Sep 2023 00:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695196462; cv=none; d=google.com; s=arc-20160816; b=n+zGx2sRypYDy0qAYmBNrEWOIpJRklnlE7jIETOowTkvkQw6La9fy55e260YWY3T8s NOs+yhXGf/yRvaXGrrR1BmEY7NXp6YQZyeURjbXcdfkHfznWdrVnevKxQypYX6IA9flA Gq3Omv4K4hgg2MKNij4Q3pWZld11uFgUMcc/ecVryVhg12b33Zm04BGhlHb5Q3NloRRe ZSGYxnfVFE62EQpcrWFmcXvcub8F+8xZo+YqupxPJCpxhqvQE9lS7dN5XdEawrkgY3fZ 1/MujUkv+5oman2PAIt5aaClSKdSvgXxCAZX16vDgvUYDN6qJTCaXiGhXvCweuB3Dx4h npww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=skCm1J5KDxZf06VpF6lR0DlJl4gMashIwMzMA0pXkYg=; fh=HCXPpNLVNn8IfWuUdPPkKx+cQS3fTGHhwvDj0lvGCSQ=; b=Fs18ui5yI1mGSRMr0oQu4XectShDelOMtP3nlYsgwYTKNzSbB5F/aBlyCLrwnK/jsx UsO4E+EFlg/3rah2NxyDyvALIAukgPjRV5TwvDNBWYdiKBYKJq+Zg3JFiDUnI1+alXtd U5E5UQjA0wbGrMa6KHsU8VSodIYF0EW3BxhPKBR3A7AWGc0xwS6uXJ/XGCGPWsDaoe2f 5vvX977z6mWaEvoA3GYrjT8/bR9JBbVQuDTlt4hdjBziFICcHuDrXheDtnBdAq43NnHq hnsw6rjesC5f5GLsHBH97k4ArnWqyWyBkLbIj23pfHu5wCEH7QDTXLzKq/FnD9tSk/V8 B5Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YKkDvn5J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id b26-20020a6567da000000b00565403bf2d2si11257152pgs.645.2023.09.20.00.54.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 00:54:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YKkDvn5J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 9A1278201B12; Tue, 19 Sep 2023 12:51:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232981AbjISTvA (ORCPT + 26 others); Tue, 19 Sep 2023 15:51:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232036AbjISTu6 (ORCPT ); Tue, 19 Sep 2023 15:50:58 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59E9C9C for ; Tue, 19 Sep 2023 12:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695153052; x=1726689052; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ypp/1Yy4wVk9ciRNPy90YR5pm63YZxulHQvF7iar87A=; b=YKkDvn5J5VAH/Taabh3xITq0c55XP5asMbRjb0AlFbMWzN18rH5tLSPX 0MGrMB5bKr7dnReQyP62eC4lxLCfAroNNEUL/kJyJkLd2M5vqVLv1laX2 nw2hEIHAHX5TRLsYPyxdtJZrx8rpicEpNSDvQOdgreZH2FzJ/BsqI2KF+ fVXkzoirEA7tMyXcFmXLNwxrvyn3OU14PDocNJyXthP3pQ2me8EM6zvti YopI62bQbZEy87C5YhsdTekwevjsvQnWo1EdadVdhGfadrEVzrv9TtSrm r1HtCl9M3fnG4zpw/zeefFCM+NC46O5nrleTgObgKCN8iYqUXUUFNk1Bo w==; X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="377344580" X-IronPort-AV: E=Sophos;i="6.02,160,1688454000"; d="scan'208";a="377344580" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 12:50:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="993286149" X-IronPort-AV: E=Sophos;i="6.02,160,1688454000"; d="scan'208";a="993286149" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga006.fm.intel.com with ESMTP; 19 Sep 2023 12:50:50 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 3471D45B; Tue, 19 Sep 2023 22:50:49 +0300 (EEST) From: Andy Shevchenko To: Greg Kroah-Hartman , Saravana Kannan , linux-kernel@vger.kernel.org Cc: "Rafael J. Wysocki" , Andy Shevchenko Subject: [PATCH v1 1/1] driver core: Add missing parameter description to __fwnode_link_add() Date: Tue, 19 Sep 2023 22:50:48 +0300 Message-Id: <20230919195048.3197551-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 19 Sep 2023 12:51:08 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777542325824225782 X-GMAIL-MSGID: 1777542325824225782 The kernel documentation validator is not happy with: drivers/base/core.c:67: warning: Function parameter or member 'flags' not described in '__fwnode_link_add' Add missing parameter description. Fixes: 6a6dfdf8b3ff ("driver core: fw_devlink: Allow marking a fwnode link as being part of a cycle") Signed-off-by: Andy Shevchenko --- drivers/base/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/core.c b/drivers/base/core.c index 4d8b315c48a1..67ba592afc77 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -49,6 +49,7 @@ static bool fw_devlink_best_effort; * __fwnode_link_add - Create a link between two fwnode_handles. * @con: Consumer end of the link. * @sup: Supplier end of the link. + * @flags: Link flags. * * Create a fwnode link between fwnode handles @con and @sup. The fwnode link * represents the detail that the firmware lists @sup fwnode as supplying a