Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6194932rwl; Wed, 22 Mar 2023 07:40:12 -0700 (PDT) X-Google-Smtp-Source: AK7set/x+iu+9w79GWx3BV0sVgJmccxPQIE+Nuk0vLM9jOAjQ3/gDyGk9hqZxHpzThx9gFsA72q9 X-Received: by 2002:a05:6a20:b542:b0:c6:c85f:da5b with SMTP id ev2-20020a056a20b54200b000c6c85fda5bmr5192246pzb.55.1679496012697; Wed, 22 Mar 2023 07:40:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679496012; cv=none; d=google.com; s=arc-20160816; b=GSt650GCUAltLNrZ5A5T2g/L7Lp6jpve1VLur9AzD6u42py498NfMPf6Z+5MdmiVTP kX8jOYG112KRvILC6XC9UtrzYaQCohGGG2k0YW0ydh5BBzvHnT9xFfZ1szqMKNvmsn2x NR/CEV/1Od37ePwZE7CXQDqdZPnbpaZHxwVCtJviW3fpoKBqSzZHvVCZr8En43U7mp1b ypQ2ldtGXfP1B521E0cBFOq4BhXZ665jBvBjUp78Od+uwYqb6LjRFikr8F9VV8Mm2ray JLrKXfU4AVd2oTj+wJBEoWX4pRL3AuIylS0h82VpnhObVeLnHyYlk7i3aBYPc5rOTwhs YiJw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wG0mcpYshfKekVXsT16WXN6VVc0cNvViQHidRMGPiYE=; b=UQV9KQzu3eXon74erw9YJj/91gxbV/6NjmbLjJAakAL3KGDf+gfYaPWvtllGkY4yno CnLLcDtExzZjqMxSNPzU5j0yYLgdEmfufQSPy2gqx4BDHhl9b4wnMNcxl2Fdbutzy3Ur xlGrNj42Ns0Pw9jD+XFXFRx6FeYLCx4Zo4/aFwMuuOGZuDMgaDoTXrQ4o0wvL6KPqm3N OrBkgrZrdBSMHTJJYSWYB1oYzOnhXE6eE8PS0AKTaPY+9hxyDsmZTkbkj4oEPVv2srib y1shX8V97asry0C7Ek2e7Np+r/3ZSmvpO2ot+fqb84PMq24MhKlUrMoBZYG7Xsp0k3KG T2cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UF41KvIo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j64-20020a638043000000b004fb33a76e2csi17128051pgd.834.2023.03.22.07.40.00; Wed, 22 Mar 2023 07:40:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UF41KvIo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231574AbjCVOj3 (ORCPT + 99 others); Wed, 22 Mar 2023 10:39:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230381AbjCVOjX (ORCPT ); Wed, 22 Mar 2023 10:39:23 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD70F3347A for ; Wed, 22 Mar 2023 07:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679495962; x=1711031962; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TkCkoVN5YuqKJoNk1l2F8kUlVp9keQi4zBudYIi2MhU=; b=UF41KvIoEY+0kbZSVUk9o+T37X/265H7/9qNZVmrYUc0iKbgBJGQkVrY 1d05wjUWEr5RZsReD3/n7YFd2Ol1H13KryT3/qR/ltGtQHOQiCb1ADeaV /qMdSGokGr/6So0UbAW3kc5La4g7ZvTJggn0HFJSB2xzSx5mpIyEp9muK +Wk+qJQC0NjmVH3GzG/wpR0Vpjhu1i/QvvqF3bK79LFbdf0Au3f04Kmj0 NQ+Yr1NhWaHAne0MWF8LXgzd+lKGfUQi0MqXA2VK2GHU5F2lH+elqu8oM jnmRZwLRXyGe2QrXxXOxqhQfy+DUBeH9C3RmQ1UK9jYFwBzU/5HxQnnqg Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="327609288" X-IronPort-AV: E=Sophos;i="5.98,282,1673942400"; d="scan'208";a="327609288" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 07:39:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="792579428" X-IronPort-AV: E=Sophos;i="5.98,282,1673942400"; d="scan'208";a="792579428" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 22 Mar 2023 07:39:20 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 9C5E581; Wed, 22 Mar 2023 16:40:06 +0200 (EET) From: Andy Shevchenko To: Bumwoo Lee , Andy Shevchenko , linux-kernel@vger.kernel.org Cc: MyungJoo Ham , Chanwoo Choi Subject: [PATCH v1 01/14] extcon: Fix kernel doc of property fields to avoid warnings Date: Wed, 22 Mar 2023 16:39:52 +0200 Message-Id: <20230322144005.40368-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b In-Reply-To: <20230322144005.40368-1-andriy.shevchenko@linux.intel.com> References: <20230322144005.40368-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kernel documentation has to be synchronized with a code, otherwise the validator is not happy: Function parameter or member 'usb_propval' not described in 'extcon_cable' Function parameter or member 'chg_propval' not described in 'extcon_cable' Function parameter or member 'jack_propval' not described in 'extcon_cable' Function parameter or member 'disp_propval' not described in 'extcon_cable' Describe the fields added in the past. Fixes: 067c1652e7a7 ("extcon: Add the support for extcon property according to extcon type") Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index 3997b39680b7..1bc2639704c2 100644 --- a/drivers/extcon/extcon.c +++ b/drivers/extcon/extcon.c @@ -206,6 +206,10 @@ static const struct __extcon_info { * @attr_name: "name" sysfs entry * @attr_state: "state" sysfs entry * @attrs: the array pointing to attr_name and attr_state for attr_g + * @usb_propval: the array of USB connector properties + * @chg_propval: the array of charger connector properties + * @jack_propval: the array of jack connector properties + * @disp_propval: the array of display connector properties */ struct extcon_cable { struct extcon_dev *edev; -- 2.40.0.1.gaa8946217a0b