Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3861029ybh; Tue, 17 Mar 2020 07:56:21 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvHQaXZ2KGTyQxzbW2rqEcavkiMNoQuVAdQr9VrR9HoIfErDI9NIAOpsk0D+c4oIl5El/XH X-Received: by 2002:aca:39d5:: with SMTP id g204mr3623592oia.93.1584456981392; Tue, 17 Mar 2020 07:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584456981; cv=none; d=google.com; s=arc-20160816; b=DKj1jWrs9/egMcgsecjTk7rGkeFHP1WWXkvt3DkuqR2orX+bxh4An5+rXEWoASYMWs fkolLubGQhJEdfelqTsrnYMs0fvY6CFBuZyQVf5/9sHPkevV2p0Fp1y1hMo9Ye4QKYOh SjFb6K30+BktzYrKROM8SS41sdFaNKthYGnwH71B6kidWQ9kIBBDB1+jR4OF9CLIBg5C YNOmLmtZdd6NBTS34WiE3AYe3npPq/gAYasWo3A4dNfW1QhCdo8yWOLleZ8GvCRZTuiX j+YFwK4OWSVtvozt1sxN93ePbkwin5ZRJMKiI738WtpE0jR/1lVqUVAvqbStl+RakWal qjGw== 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 :dkim-signature; bh=vFvxrvofJ8YnzRCjWfOFH0tyAXJNPCuCl/5jTs0XA84=; b=AwA0DQrrKnCTIUccbnwkURFKHVlM1uXW73cOd0YxDtHq/9+DH2vNyXcE1UdEPY2y4q dhUhG0X8M9S5C5VO4cT1Lp8fLZNFmzp6PCFQkGyidRdpwnZlB6+m2O5O7hi/QFTDLoiF PEyw82kUrudRu+pPyFOOZIgIbK623iADRnMeG7eFWtAi48em2VL1ycJttmSvZJI4ed6p TBGG6R30y6g0mmqmn/rgy1WlW/vYgmuKrSsXXbLoIc+aNTyUyZdzA5eRxaiL2RpUIODG r6zCdcVM74U5ZBH+sbEeHkjYpqq8zboIv26SNfN72ZGzSMMruhxoYkEv8sc1CzpS/aFd Y77Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1120EDb2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12si1833290otr.67.2020.03.17.07.56.08; Tue, 17 Mar 2020 07:56:21 -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; dkim=pass header.i=@kernel.org header.s=default header.b=1120EDb2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727190AbgCQOzD (ORCPT + 99 others); Tue, 17 Mar 2020 10:55:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:43588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726903AbgCQOyb (ORCPT ); Tue, 17 Mar 2020 10:54:31 -0400 Received: from mail.kernel.org (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 726E420754; Tue, 17 Mar 2020 14:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584456870; bh=K2CqNzyP9Xh6nbedN69NWDYulb1KlpnZ6sAC5LNYrkQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1120EDb2wo2SIYejqvQfRjQsM7ALh/h2AzM6/RJh2K9AXE0MTo28Aa/K1k4Ku5doy cABfV9piTVNeIRwU5bZNi0nyyqVzrk9MQk7XHIN2bflt2BsaqgjDRUCT1rbiQupD4r EfGH2ueTxJCAaWfuTXdlnMZjnxoHUZGRcasmHdtE= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jEDbw-000AMX-H6; Tue, 17 Mar 2020 15:54:28 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , linux-pm@vger.kernel.org Subject: [PATCH 05/17] devfreq: devfreq.h: get rid of some doc warnings Date: Tue, 17 Mar 2020 15:54:14 +0100 Message-Id: X-Mailer: git-send-email 2.24.1 In-Reply-To: References: 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 Mark "void *data" as literal, in order to avoid those doc warnings: ./include/linux/devfreq.h:156: WARNING: Inline emphasis start-string without end-string. ./include/linux/devfreq.h:259: WARNING: Inline emphasis start-string without end-string. ./include/linux/devfreq.h:279: WARNING: Inline emphasis start-string without end-string. Signed-off-by: Mauro Carvalho Chehab --- include/linux/devfreq.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h index 82630fafacde..57e871a559a9 100644 --- a/include/linux/devfreq.h +++ b/include/linux/devfreq.h @@ -158,7 +158,7 @@ struct devfreq_stats { * functions except for the context of callbacks defined in struct * devfreq_governor, the governor should protect its access with the * struct mutex lock in struct devfreq. A governor may use this mutex - * to protect its own private data in void *data as well. + * to protect its own private data in ``void *data`` as well. */ struct devfreq { struct list_head node; @@ -256,7 +256,7 @@ struct devfreq *devfreq_get_devfreq_by_phandle(struct device *dev, int index); #if IS_ENABLED(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND) /** - * struct devfreq_simple_ondemand_data - void *data fed to struct devfreq + * struct devfreq_simple_ondemand_data - ``void *data`` fed to struct devfreq * and devfreq_add_device * @upthreshold: If the load is over this value, the frequency jumps. * Specify 0 to use the default. Valid value = 0 to 100. @@ -276,7 +276,7 @@ struct devfreq_simple_ondemand_data { #if IS_ENABLED(CONFIG_DEVFREQ_GOV_PASSIVE) /** - * struct devfreq_passive_data - void *data fed to struct devfreq + * struct devfreq_passive_data - ``void *data`` fed to struct devfreq * and devfreq_add_device * @parent: the devfreq instance of parent device. * @get_target_freq: Optional callback, Returns desired operating frequency -- 2.24.1