Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6895304rdb; Fri, 15 Dec 2023 11:06:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjb3GxxjDNuOg03uRqWtW7827vkJdOfZ7NN+CfhC2JZ1MXguKCORbC2MA6gZFwVORCkaCa X-Received: by 2002:a05:6808:2028:b0:3b8:b063:5d6b with SMTP id q40-20020a056808202800b003b8b0635d6bmr14953367oiw.82.1702667162958; Fri, 15 Dec 2023 11:06:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702667162; cv=none; d=google.com; s=arc-20160816; b=YFAm8Z2WBxrrt5z2FmiTsTzOS1bUXB+/LxTx5RWdb/ZntcCOzRgUVPsJ5frQmblDfq +EXUmSiZvI4PNsdPzgx4UNVD9TMEgyplhwiumliEaeffE6PQyKITGOkWr83y6vjGeVNA 06/WAvdylTFsOADIhAskUrGrW0oTvQ/VsrZbHz6DXpr301M5idic54rnZW8ERZfws4qm L5dbFvjL7P2kmGrGBEDyRxAEQDITv+fThjQNBxaNhzlB/RDy2L4J1xWwiPHOPEGUtMdR RifF2m/6E0nnO3Un1f1hv23SHKND1Y0fNG1UKmic5IeZav4oduLaraAsHngVE3O4ZP5z giDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vVnFmJCCfR01LuehN8Co2lUqd4r5c+j4EtSCAiB9EBs=; fh=QHc/uA1g4ux48fXURTJJy1zscn/qbV/Kk0Tu9C5o2sM=; b=b4lPSzM94PcA65NB3OsfVauAPikI+JPn1wQIldZ486JjKhwhYed3koEdT6meZL4oLq NYQDc0MQ3iZ0InPICF44oiT5dt05F1ukGIGokWS/STPlix3kddx7ruwnhXCh2hNk4YWp JluI4npIcY/YzNsfsun/z3RmelXA2nxG024sJRVlWCMuepO0aVIaaRNOGq6GB4kyBpwM QzoUq/NhxWJhx2yhiy7FjHMAdmm4b8qKYNK3aaF77AGXuFYooGaj19m2hUZXCVPgPid3 YmyH7huQm2EzpVagHm8n1iblU112OzibRAueQqQqPGTSXt+avfWGZi7sSdbKhmU5OgFK Qq8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NibKwKnP; spf=pass (google.com: domain of linux-kernel+bounces-1548-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1548-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h16-20020a056102359000b0046472cec820si4187008vsu.180.2023.12.15.11.06.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 11:06:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1548-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NibKwKnP; spf=pass (google.com: domain of linux-kernel+bounces-1548-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1548-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 9F69D1C23768 for ; Fri, 15 Dec 2023 19:06:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF4333E490; Fri, 15 Dec 2023 19:05:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NibKwKnP" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 670503EA92 for ; Fri, 15 Dec 2023 19:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-5e3b9c14e46so8818437b3.0 for ; Fri, 15 Dec 2023 11:05:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702667153; x=1703271953; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=vVnFmJCCfR01LuehN8Co2lUqd4r5c+j4EtSCAiB9EBs=; b=NibKwKnPH2SGw/HKkXSmnbmX2T8wUSDRgeQkzsLSmSUUclaWmOpFJC8cmeTubkjXXX fQLnftudWApH7Juz/BJrKjT7gAOvByDg4Pp/BNJYAb8lljuEb5TjjvKBPsNWf9EzDlLF lViOvN4zILb4B7Ylox8Jn015cFXvCBVhYnNv9gVZeVIz1A+5236+RlzadhUfifyKPWis zuOClUj4ZuF2pZhgPNQdJDQBpXE1OxzZHzIUFHX6dnSovIIacKolVK3L/+n0RlDUY6Cm Lo3IZgbhDL1jJDnyCt+wX9aqXHu4yDqy/hy7S85TnIo5FdENr/k00vNgS34C92N/QV2L OeXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702667153; x=1703271953; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vVnFmJCCfR01LuehN8Co2lUqd4r5c+j4EtSCAiB9EBs=; b=Axc0mRPMSTE3uuKysHTb7jScmaEituetY+FrL7DZQvhOwFzfbXwuYaY9163aonkBku VdeFfxDWaoPovBoOtmLZCE9XDTfXCxTJLghx3wjFCgjZqK+HzjLd5fUL6s+Bsf1OKlb7 L3123kOP8W0SZtfNILn0ECTqeCmMO1VDebIPN1laUNmeGeIGnu4iTLi//9wQbQiKHLJR WBTgVnbjHVNfXG6z/f1CFxgjpRrrw6HtVYXZcuVmhOugx4YdyxJKc8/AXilNH/PPlqIi ou9w4kaz4K1OIe9F53BOeS5Y9YUNrQ/ASMRQrZy8mXFHYN/CYELJdtBzPxgyWsdJooAT N0UA== X-Gm-Message-State: AOJu0YwqF2xqD3Y9J4SoZkz+QoAJZfWGMeZOPYTcfxISKqz2dKm0wsvT KYidy8uLO2uFWUi1Ge7D/LeuI82WbPI= X-Received: by 2002:a81:4807:0:b0:5e4:ac12:fc16 with SMTP id v7-20020a814807000000b005e4ac12fc16mr876480ywa.71.1702667153288; Fri, 15 Dec 2023 11:05:53 -0800 (PST) Received: from localhost ([2601:344:8301:57f0:ffe6:85e9:752c:601b]) by smtp.gmail.com with ESMTPSA id w135-20020a81498d000000b005e2f116e2f5sm109709ywa.32.2023.12.15.11.05.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 11:05:52 -0800 (PST) Date: Fri, 15 Dec 2023 11:05:51 -0800 From: Yury Norov To: Andy Shevchenko Cc: linux-kernel@vger.kernel.org, Rasmus Villemoes Subject: Re: [PATCH v1 2/2] bitmap-str: Add missing header(s) Message-ID: References: <20231215184218.2005611-1-andriy.shevchenko@linux.intel.com> <20231215184218.2005611-3-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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231215184218.2005611-3-andriy.shevchenko@linux.intel.com> On Fri, Dec 15, 2023 at 08:41:09PM +0200, Andy Shevchenko wrote: > Signed-off-by: Andy Shevchenko > --- > include/linux/bitmap-str.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/linux/bitmap-str.h b/include/linux/bitmap-str.h > index d758b4809a3a..53d3e1b32d3d 100644 > --- a/include/linux/bitmap-str.h > +++ b/include/linux/bitmap-str.h > @@ -2,6 +2,8 @@ > #ifndef __LINUX_BITMAP_STR_H > #define __LINUX_BITMAP_STR_H > > +#include There's no sense in including this header without bitmap.h, and the latter includes linux/types.h, so no need to include it here again. If you want to make it more rigorous, you can do like this: #ifndef __LINUX_BITMAP_H #error "Don't include separately from linux/bitmap.h" #endif > 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); > int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp, int nmaskbits, > -- > 2.43.0.rc1.1.gbec44491f096