Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6881831rdb; Fri, 15 Dec 2023 10:42:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1lCDquGERHzs6uU9gDttfxhmL9h1olK9iRqr+NnPwAuwZJCjibzGK+TTL4Lvw2hEDlAde X-Received: by 2002:a17:903:2a8d:b0:1d3:8032:ccc4 with SMTP id lv13-20020a1709032a8d00b001d38032ccc4mr1197113plb.6.1702665776382; Fri, 15 Dec 2023 10:42:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702665776; cv=none; d=google.com; s=arc-20160816; b=KGwrBEVC6FnzIQgTe0UA2rsIPnbP1Dv4yJX+4PRctD6TTBs9xmqsZy35mfGxhO6QY2 zUFqoQ4vdkqoqPX2TZolkZSuk0MJ+D1dOhApuN3KNlU5x13tnaFqJCQsH+4j0+8LMGjn cbED74vivEC6DJ34pPx0Mb5DYtfzGehXB7Ir7OXaL4oZN22Jm0rmogP6mz8gg13Td8ow Bfn8QdzDC495e5bYSXCWhpkyFcFFwUqBxmYuXzmll7ZpGiDa2CsYEmxVVylycyCAeQlr k04AcYnHsEyqDFBhKModhJ843OC9gvjLvkAGtYrWpD2otKRlzkND0r1QVruBltq9l//Z lx6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=2NzZwlfWKWHMmaIBtmoE5N6y5W2OVEtNwMhqAGpnwDA=; fh=52uriHmw66Isc9M0dc1XAgIb2ws5yaWShXvlswPefMI=; b=LVuz+lGFeoh9rGIhMvjsUi9o0oyRAZdzCNay+tsdR3W9X7a7Qm8u/IWPAMEsZEIEOj ZkUx7qQ2Kar5xp9cnkcVLkEuTAzkbrP6FV16kmTa+zMK8g1AxZVbj8X2cY+zv+4MsPRH yNzCch+juni5OdJ6c+qcWVe5cYHKMP2BvnFcRJk4qCfboYdDvL+rsqCd5N3Z/kBWmQaE rc3IvYfDOo3vRoqYRnet6fgcjbbpFAFq2FjE1AcWigJWC8iJ5M+qnuGO5PKOP6/9J/Dw 6IDvfq5rkqiZUVI0bA3lLjtJYiL1eOst2e+EO+YCTqmtpGIHJzqFguVMpUIkEZimxVY0 Drkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YdbN0sX2; spf=pass (google.com: domain of linux-kernel+bounces-1538-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1538-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c12-20020a170902b68c00b001cf69ac4c14si13272727pls.444.2023.12.15.10.42.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 10:42:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1538-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YdbN0sX2; spf=pass (google.com: domain of linux-kernel+bounces-1538-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1538-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 02731B23478 for ; Fri, 15 Dec 2023 18:42:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3427E3FE4E; Fri, 15 Dec 2023 18:42:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YdbN0sX2" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A887374CA for ; Fri, 15 Dec 2023 18:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702665746; x=1734201746; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=62cgElx93zxdtr1+BKH9yDWLjaRS5xOwAItnSx7AbM8=; b=YdbN0sX2grm522xPBE1O0wpyko/VDPGpNdP0ipNSB+eMY3l0Tf5DWAt3 2aplldl5mj/hTVVizxH6Us5aJrELfiaJ8eWIE3HSimrU4FAi6kZLumKD9 48zOEVrFoGSdH/xbcGivWoQNLZoZkSnlU/q8GgiSL+7qGgZS4Wgl4ixtx mXmMARbOqMpYLD3LmqMd5jYeAWMok92hRD//14MGJyAvDXo2zxid2e8uH PYFVo2lbQTNroLDtsJnXY4C9QuhVrhVHy6KQcDfbCL5WsdJ87/Sx3IWTm 0fldyqztGov9rVTxaqDz2sgxHACTQp9I+DRI2OzzoTovnpE3ssI/gTTWV A==; X-IronPort-AV: E=McAfee;i="6600,9927,10925"; a="2482764" X-IronPort-AV: E=Sophos;i="6.04,279,1695711600"; d="scan'208";a="2482764" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2023 10:42:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10925"; a="918533559" X-IronPort-AV: E=Sophos;i="6.04,279,1695711600"; d="scan'208";a="918533559" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 15 Dec 2023 10:42:22 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 9347020B; Fri, 15 Dec 2023 20:42:21 +0200 (EET) From: Andy Shevchenko To: Yury Norov , Andy Shevchenko , linux-kernel@vger.kernel.org Cc: Rasmus Villemoes Subject: [PATCH v1 1/2] bitmap-str: Get rid of extern Date: Fri, 15 Dec 2023 20:41:08 +0200 Message-ID: <20231215184218.2005611-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20231215184218.2005611-1-andriy.shevchenko@linux.intel.com> References: <20231215184218.2005611-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Signed-off-by: Andy Shevchenko --- include/linux/bitmap-str.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/bitmap-str.h b/include/linux/bitmap-str.h index 17caeca94cab..d758b4809a3a 100644 --- a/include/linux/bitmap-str.h +++ b/include/linux/bitmap-str.h @@ -4,10 +4,10 @@ int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits); int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, int nmaskbits); -extern int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp, - int nmaskbits, loff_t off, size_t count); -extern int bitmap_print_list_to_buf(char *buf, const unsigned long *maskp, - int nmaskbits, loff_t off, size_t count); +int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp, int nmaskbits, + loff_t off, size_t count); +int bitmap_print_list_to_buf(char *buf, const unsigned long *maskp, int nmaskbits, + loff_t off, size_t count); int bitmap_parse(const char *buf, unsigned int buflen, unsigned long *dst, int nbits); int bitmap_parselist(const char *buf, unsigned long *maskp, int nmaskbits); int bitmap_parselist_user(const char __user *ubuf, unsigned int ulen, -- 2.43.0.rc1.1.gbec44491f096