Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1675951ybt; Thu, 25 Jun 2020 11:23:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/aLGGWsJrCv/aIwwswE+hLS8E345Itb+cJob+tt0++Rmzg7T0zgTzLCyJoEiErCdhRx2a X-Received: by 2002:a17:907:7294:: with SMTP id dt20mr30116817ejc.355.1593109386769; Thu, 25 Jun 2020 11:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593109386; cv=none; d=google.com; s=arc-20160816; b=KcwN8vy+fMIHDj+uBvgvm/QliMoK9dAJg7q2+Z6ypprEL0A3cwUSuXuCRkru93xz8x jh8h4KODtEQV+fKLgKIW9iq8+rlsA+gknLxeLqHVNXNCIR+29VwBOcM/L6kJ7xc57/h9 vzixwzWTf7CfqbS+CuqLquE03HISKORz53MQC/o4pLMqzlw6gatk0gsHqUB3K8pTcFTv hTAAaHYFzlPzhCcXlSqZfMADkyEa8drfxkAMluWKie5Emvro0sQncwUo6qtrUmGEKuVq CzmBHZS3Z5OoE8VuyPAtKwJgWM0aWxWHvU2lwNVz8vlNEir96Y3uRLbQb3PF6Eu4lvbq El3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=erfJFIGtOKPDg9mDNY3SFkItj62uCRRXUDnLhbbS2/A=; b=uf+lI7jZZ7GZhWr7SzHLSxM+CjoyH45+k6mdlofzybunIZ+PPbsFk72nl/Y0JAV36H KZeG3zyMoim3ihHXzKMsSRXwRyh1b0+cu2KBkHRU/+SE6bn1+QEtEfmL/N4e6Hr62gmr y5qoX0OELkSycBqpBhAzGmYkvBtaohwLsurFwNilafWemTmGaWJqdcGQYasS12axiVHC mahp3mIoHXI5R8/57gZViTaQLK6clpNXcjd4PYnXNmCsIk3itYvFvQBxetVERDiHMuhG /aRaENbhthq1cmE6lKh2iFEbjRYZav8RMnaQSl7q+qg4R/mxcPfrjII1YOjSic3xuMzA AGHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mj26si10182103ejb.416.2020.06.25.11.22.43; Thu, 25 Jun 2020 11:23:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406530AbgFYRDI (ORCPT + 99 others); Thu, 25 Jun 2020 13:03:08 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:38690 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406501AbgFYRDI (ORCPT ); Thu, 25 Jun 2020 13:03:08 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 6BDD52A5736 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , groeck@chromium.org, bleung@chromium.org, dtor@chromium.org, gwendal@chromium.org Subject: [PATCH] platform/chrome: cros_ec_rpmsg: Document missing struct parameters Date: Thu, 25 Jun 2020 19:03:00 +0200 Message-Id: <20200625170300.224906-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kerneldoc expects all kernel structure member to be documented. Fixes the following W=1 level warnings: cros_ec_rpmsg.c:49: warning: Function parameter or member 'ept' not described in 'cros_ec_rpmsg' cros_ec_rpmsg.c:49: warning: Function parameter or member 'has_pending_host_event' not described in 'cros_ec_rpmsg' cros_ec_rpmsg.c:49: warning: Function parameter or member 'probe_done' not described in 'cros_ec_rpmsg' Signed-off-by: Enric Balletbo i Serra --- drivers/platform/chrome/cros_ec_rpmsg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/platform/chrome/cros_ec_rpmsg.c b/drivers/platform/chrome/cros_ec_rpmsg.c index ff08c3d12873a..ad0a30afd7423 100644 --- a/drivers/platform/chrome/cros_ec_rpmsg.c +++ b/drivers/platform/chrome/cros_ec_rpmsg.c @@ -38,6 +38,9 @@ struct cros_ec_rpmsg_response { * @rpdev: rpmsg device we are connected to * @xfer_ack: completion for host command transfer. * @host_event_work: Work struct for pending host event. + * @ept: The rpmsg endpoint of this channel. + * @has_pending_host_event: Boolean used to check if there is a pending event. + * @probe_done: Flag to indicate that probe is done. */ struct cros_ec_rpmsg { struct rpmsg_device *rpdev; -- 2.27.0