Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751696AbaBINAq (ORCPT ); Sun, 9 Feb 2014 08:00:46 -0500 Received: from mail-pb0-f52.google.com ([209.85.160.52]:49039 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751360AbaBINAp (ORCPT ); Sun, 9 Feb 2014 08:00:45 -0500 Date: Sun, 9 Feb 2014 18:30:39 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: Kent Overstreet , Tejun Heo , Jens Axboe , josh@joshtriplett.org Subject: [PATCH 04/21] fs: Add prototype declaration to appropriate header file include/linux/bio.h Message-ID: <74e55f4ccf256d3cc51f377d39e6395f58cb1617.1391949868.git.rashika.kheria@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add prototype declaration to header file include/linux/bio.h because it is used by more than one file. This eliminates the following warning in bio-integrity.c: fs/bio-integrity.c:214:14: warning: no previous prototype for ‘bio_integrity_tag_size’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria --- Some of the API functions like bio_integrity_tag_size appears to be entirely unused. Such occurences should be pruned because they haven't been used in any driver. include/linux/bio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/bio.h b/include/linux/bio.h index 7065452..d6791bb 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -332,6 +332,7 @@ extern struct bio *bio_clone_fast(struct bio *, gfp_t, struct bio_set *); extern struct bio *bio_clone_bioset(struct bio *, gfp_t, struct bio_set *bs); extern struct bio_set *fs_bio_set; +unsigned int bio_integrity_tag_size(struct bio *bio); static inline struct bio *bio_alloc(gfp_t gfp_mask, unsigned int nr_iovecs) { -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/