Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754700AbcJ3JrD (ORCPT ); Sun, 30 Oct 2016 05:47:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:36619 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753966AbcJ3JrA (ORCPT ); Sun, 30 Oct 2016 05:47:00 -0400 Date: Sun, 30 Oct 2016 10:46:57 +0100 From: Jan Kara To: Wei Yongjun Cc: Jens Axboe , Jan Kara , Wei Yongjun , linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] brd: make symbol rd_size static Message-ID: <20161030094657.GB3225@quack2.suse.cz> References: <1477757427-26162-1-git-send-email-weiyj.lk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1477757427-26162-1-git-send-email-weiyj.lk@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 331 Lines: 14 On Sat 29-10-16 16:10:27, Wei Yongjun wrote: > From: Wei Yongjun > > Fixes the following sparse warning: > > drivers/block/brd.c:411:15: warning: > symbol 'rd_size' was not declared. Should it be static? It should not. It is used in arch/arm/. Honza -- Jan Kara SUSE Labs, CR