From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A843C4332F for ; Mon, 6 Nov 2023 03:14:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbjKFDOM (ORCPT ); Sun, 5 Nov 2023 22:14:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjKFDOK (ORCPT ); Sun, 5 Nov 2023 22:14:10 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06D55FB for ; Sun, 5 Nov 2023 19:14:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699240448; x=1730776448; h=date:from:to:cc:subject:message-id:mime-version; bh=Q3lw8Av1SW+w91e7mVWch1TkLU53z7jwJzxt8Bntw5I=; b=m6PlyZ3cziq1Cw6bVy6LU1TqhIx4hhcXwyYNpqZVncTizX078YdUanYd 4ML4WatRFajzS4zatFKse3jXAACnfgbUhSI/rdJYUSWYjQu9Go6JRZoeH REJSLsWdBgX7xFtvOJwLebv1XmlXAuxTJP0dq+hGVmA9Izpjm94qp1jRl KVsdRIkWeEYn3QQRt4EfJrPD9iCXDurXUS8wj53x1CQZnqD3ej1Vr05by 0kRl6E2WTqlWePWR/3x3MDgIrck6V+SGQe88mCsHp5Iazw+aVbNzrnZ2O 1CVIcYA64p8jrF6aPhJ03cO9WOLDl1z18XI2b6M+972EF78XL+/7ANDiy w==; X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="374231524" X-IronPort-AV: E=Sophos;i="6.03,280,1694761200"; d="scan'208";a="374231524" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2023 19:14:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="762189124" X-IronPort-AV: E=Sophos;i="6.03,280,1694761200"; d="scan'208";a="762189124" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 05 Nov 2023 19:14:06 -0800 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qzq3v-00063f-2f; Mon, 06 Nov 2023 03:14:03 +0000 Date: Mon, 6 Nov 2023 11:13:13 +0800 From: kernel test robot To: Matthew Wilcox Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: lib/test_ida.c:16:6: warning: no previous prototype for 'ida_dump' Message-ID: <202311061056.8cCxGEcI-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77fa2fbe87fc605c4bfa87dff87be9bfded0e9a3 commit: 8ab8ba38d48867aac01812e18f48fc9173ccd400 ida: Start new test_ida module date: 5 years ago config: x86_64-randconfig-r025-20230725 (https://download.01.org/0day-ci/archive/20231106/202311061056.8cCxGEcI-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231106/202311061056.8cCxGEcI-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311061056.8cCxGEcI-lkp@intel.com/ All warnings (new ones prefixed by >>): >> lib/test_ida.c:16:6: warning: no previous prototype for 'ida_dump' [-Wmissing-prototypes] 16 | void ida_dump(struct ida *ida) { } | ^~~~~~~~ vim +/ida_dump +16 lib/test_ida.c 14 15 #ifdef __KERNEL__ > 16 void ida_dump(struct ida *ida) { } 17 #endif 18 #define IDA_BUG_ON(ida, x) do { \ 19 tests_run++; \ 20 if (x) { \ 21 ida_dump(ida); \ 22 dump_stack(); \ 23 } else { \ 24 tests_passed++; \ 25 } \ 26 } while (0) 27 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki