From patchwork Fri Dec 15 18:41:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 179513 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9497366dys; Fri, 15 Dec 2023 10:43:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2G9C3XQgtoVSp1pl7VZAp1DJKkcdvdInXvsRjCXce2K69xjzMRlA/FrSPDvmkbqW6ZMwI X-Received: by 2002:a05:6870:d611:b0:203:5cca:4bb with SMTP id a17-20020a056870d61100b002035cca04bbmr2433835oaq.69.1702665790127; Fri, 15 Dec 2023 10:43:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702665790; cv=none; d=google.com; s=arc-20160816; b=ZJrSMY5/1h0I8XBVyKU4ECYw+SVLHuf2JXwF/03/ngov7W+0o1qembYU+5Z3wBG4WN J2IyjvfkSs9L9XIqr0O4LX+FxKgJp5MU4PB/wjL4H5OKZipvdsMeu5zlZqwHez1/Nog/ GgFHCgaREaLCzGdagJhuVB1kU9E4f6ddIW5OWdmaB0PgMo2BYH+opIAt73d6mdzVld1+ y4UhbMGeNYFfvIl3YSvbHhLhjrHuXI7eHcm6iAg1YOmw6LUX3YfZwwJqpsXPZHbL7/+1 YJEDGuZs9WEi8IQW58Yqz6u4aWnaqMfczofvtmVkuugUZHjiqZzzdJSIiZmDzsMn8WUU zXYg== 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1538-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z15-20020ac8454f000000b00423a136751esi16577217qtn.40.2023.12.15.10.43.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 10:43:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1538-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1538-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DF89B1C23986 for ; Fri, 15 Dec 2023 18:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A5F44187F; Fri, 15 Dec 2023 18:42:30 +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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785374483518060336 X-GMAIL-MSGID: 1785374483518060336 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,