From patchwork Thu Aug 1 10:20:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suzuki K Poulose X-Patchwork-Id: 170371 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp5221877ile; Thu, 1 Aug 2019 03:20:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqydDCRzVzYhgOQqfaPiYBqQoeEmsJX5zHjJCVX8/FX3BU7g34/wLQc+X32VNQye9UM4KCbi X-Received: by 2002:a63:2744:: with SMTP id n65mr104868095pgn.277.1564654838826; Thu, 01 Aug 2019 03:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564654838; cv=none; d=google.com; s=arc-20160816; b=L9vYG2+DZiUoluR2bx4bSaM5xpCGefQgBfZBG8M6QbSuCuPcqgO/cqRNbErTkB+kqw DOwpCkG6NCp5zPVhQvhPOaQzMC8UDuixv3ja4d/mhEaTL3Mjye6zw/y7HorSWpKjbpdQ 8AzM+WzLX+H2UhxwsHFxOJ1YAfKhw1YbR+PfHTH46D2hBYebCQ/yvIlKwc93LDP34i+2 deVibHMaxPNhONJ0Gn4cqGC5aU90R6ngpl1dN3tUuw7aPzpu5MC5iU+lHrziYT4gzj0L yX3w678xMNHFQ8M6t8yTocKJ92rxsrpkUOUwc0wOYYpidlw99T+UcH/zQfIKvPK8SR9z uGDw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=W49N15x4Dx+n8DLj2U6LiNXqlJd6hQrqxVCc3aoRwvc=; b=lnydkpuJwwsK5s3R7PwZtf3QHuhMukM1W6V3q7DR/bnuerMbbQT5iUbufo3FrbR7MT CpnqtgqXOQBkiMEEBylFqILmKtoIc4RckeXFqvtinz0RDmHe5fC5+eF27ctchdRlgRUf 1d4zIts+WLP2OzAA960wjijANrVvJy+s81VO9eyydMWFRToWiXAl45MLXJiKaCvLUWkr CSQrhOkk2JqOy5vQ4aQdKg14x2S4tguQ0XaPAPvH8gmhfEo2lKVl6W2bYrttmaLj3Zw6 n9mSu7sLF5IM3XTc+Sfyf6DvlK+PP0IvV7d3dfRFg39WjRvCarzb7MAfUQ7rn8pZuUsF ff8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r33si40101665pgm.371.2019.08.01.03.20.38; Thu, 01 Aug 2019 03:20:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730815AbfHAKUh (ORCPT + 29 others); Thu, 1 Aug 2019 06:20:37 -0400 Received: from foss.arm.com ([217.140.110.172]:33606 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730713AbfHAKUe (ORCPT ); Thu, 1 Aug 2019 06:20:34 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 526C115BF; Thu, 1 Aug 2019 03:20:34 -0700 (PDT) Received: from dawn-kernel.cambridge.arm.com (unknown [10.1.197.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6082E3F575; Thu, 1 Aug 2019 03:20:33 -0700 (PDT) From: Suzuki K Poulose To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, sfr@canb.auug.org.au, lkp@intel.com, Suzuki K Poulose Subject: [PATCH 3/3] drivers: Fix htmldocs warnings with bus_find_next_device() Date: Thu, 1 Aug 2019 11:20:26 +0100 Message-Id: <20190801102026.27312-3-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190801102026.27312-1-suzuki.poulose@arm.com> References: <20190801061042.GA1132@kroah.com> <20190801102026.27312-1-suzuki.poulose@arm.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the parameters for bus_find_next_device() to avoid htmldocs build warnings as reported below : include/linux/device.h:236: warning: Function parameter or member 'bus' not described in 'bus_find_next_device' include/linux/device.h:236: warning: Function parameter or member 'cur' not described in 'bus_find_next_device' Reported-by: kbuild test robot Cc: Greg Kroah-Hartman Signed-off-by: Suzuki K Poulose --- include/linux/device.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.21.0 diff --git a/include/linux/device.h b/include/linux/device.h index b17548b94c3e..ea0238c73a9c 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -229,6 +229,8 @@ static inline struct device *bus_find_device_by_devt(struct bus_type *bus, /** * bus_find_next_device - Find the next device after a given device in a * given bus. + * @bus: bus type + * @cur: device to begin the search with. */ static inline struct device * bus_find_next_device(struct bus_type *bus,struct device *cur)