From patchwork Thu Mar 1 16:20:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10251855 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 45E4260211 for ; Thu, 1 Mar 2018 16:20:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3597328617 for ; Thu, 1 Mar 2018 16:20:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2AA642863E; Thu, 1 Mar 2018 16:20:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9603428617 for ; Thu, 1 Mar 2018 16:20:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032886AbeCAQU2 (ORCPT ); Thu, 1 Mar 2018 11:20:28 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:32352 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032862AbeCAQU1 (ORCPT ); Thu, 1 Mar 2018 11:20:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1519921228; x=1551457228; h=from:to:cc:subject:date:message-id; bh=KXEwijZRP4wTYulvnZ6zggL0xFuAPZSMIihgjjR4hUs=; b=EOiMridtkQ7Lf1Ocbgll8V0O7qgzn/cQQFMEgJ9UcW4zVClCy16oejPy ckObwcGy/dFgYIDvJJlasTsNHdzi/w3tUWS2w3Phbu13Pm5XQ8rGQnWR8 KwoXIyoU3cF1tRWFGrM7nxiE1m2vH8sODDx9emeUgCTJYZ4goiemU5klp HamvPVSP5W9NDkup98+V1rPg2/O6oLMnZKGz8voAANpvooB2hdrF/0Oh9 XzilWN9g4P0tCHowi/+gZKIFshGfs1yuXnPdFcVb0MEovP8SOJMY8uO3+ C/VjI8N6VT4nkug7XXgRnHCtMM/t9MdEB8FMnVHfzpQ9zwcalUqRUhQTA g==; X-IronPort-AV: E=Sophos;i="5.47,408,1515427200"; d="scan'208";a="73222031" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 02 Mar 2018 00:20:28 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 01 Mar 2018 08:13:50 -0800 Received: from thinkpad-bart.sdcorp.global.sandisk.com (HELO thinkpad-bart.int.fusionio.com) ([10.11.171.236]) by uls-op-cesaip02.wdc.com with ESMTP; 01 Mar 2018 08:20:27 -0800 From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Damien Le Moal Subject: [PATCH] block: Suppress kernel-doc warnings triggered by blk-zoned.c Date: Thu, 1 Mar 2018 08:20:26 -0800 Message-Id: <20180301162026.13970-1-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.16.2 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoid that building with W=1 causes the kernel-doc tool to complain about undocumented function arguments for the blk-zoned.c source file. Signed-off-by: Bart Van Assche Cc: Christoph Hellwig Cc: Damien Le Moal Reviewed-by: Christoph Hellwig --- block/blk-zoned.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-zoned.c b/block/blk-zoned.c index acb7252c7e81..08e84ef2bc05 100644 --- a/block/blk-zoned.c +++ b/block/blk-zoned.c @@ -296,7 +296,7 @@ int blkdev_reset_zones(struct block_device *bdev, } EXPORT_SYMBOL_GPL(blkdev_reset_zones); -/** +/* * BLKREPORTZONE ioctl processing. * Called from blkdev_ioctl. */ @@ -355,7 +355,7 @@ int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode, return ret; } -/** +/* * BLKRESETZONE ioctl processing. * Called from blkdev_ioctl. */