From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932482AbbBLIyo (ORCPT ); Thu, 12 Feb 2015 03:54:44 -0500 Received: from mga09.intel.com ([134.134.136.24]:9354 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932464AbbBLIym (ORCPT ); Thu, 12 Feb 2015 03:54:42 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,564,1418112000"; d="scan'208";a="684660019" Date: Thu, 12 Feb 2015 16:54:04 +0800 From: kbuild test robot To: Andrea Arcangeli Cc: kbuild-all@01.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [aa:userfault 17/19] mm/userfaultfd.c:48:6: sparse: symbol 'double_down_read' was not declared. Should it be static? Message-ID: <201502121644.mekdzvbV%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: git://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git userfault head: 9866337e3999d167b77303ad9e57fd20919893e3 commit: e2ccdb8c9f49438f9c8910f2f93c7e5ee35d8644 [17/19] userfaultfd: add new syscall to provide memory externalization reproduce: # apt-get install sparse git checkout e2ccdb8c9f49438f9c8910f2f93c7e5ee35d8644 make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> mm/userfaultfd.c:48:6: sparse: symbol 'double_down_read' was not declared. Should it be static? >> mm/userfaultfd.c:67:6: sparse: symbol 'double_up_read' was not declared. Should it be static? >> mm/userfaultfd.c:34:9: sparse: context imbalance in 'double_pt_lock' - different lock contexts for basic block >> mm/userfaultfd.c:44:9: sparse: context imbalance in 'double_pt_unlock' - different lock contexts for basic block >> mm/userfaultfd.c:63:9: sparse: context imbalance in 'double_down_read' - wrong count at exit >> mm/userfaultfd.c:73:9: sparse: context imbalance in 'double_up_read' - wrong count at exit >> mm/userfaultfd.c:551:9: sparse: context imbalance in 'remap_anon_pages' - different lock contexts for basic block Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation