Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp361861rdb; Sat, 16 Dec 2023 11:10:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGifN+TIn79J50gGSQDxpoUENWBVz0kXT9CELrH/VTJvyIQk79IizkK6CWPjnq+sIeAIUqD X-Received: by 2002:a05:6870:a248:b0:1fa:e2e4:d8d1 with SMTP id g8-20020a056870a24800b001fae2e4d8d1mr16994188oai.52.1702753812340; Sat, 16 Dec 2023 11:10:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702753812; cv=none; d=google.com; s=arc-20160816; b=r0Jz+ryVicSO6eB3TTVN5dteJGZww31yu6tnJ9YcIaDVcjrlL6L1ldhz+v9QvQRIhw i/kSg5mfW+aXLG2n0pJ5XsIB1II2SIzpEXEbfEyKvDaHrYlR3NT9m9FvdndZMgvY2TsH ForNHn22+7CA3o2hW7lHbQxEq3Hh4Zky5in0xI1SICp+Le5TrsCmZD2Vj/+kaOSx/Mod XbWl+2CfO/nuu+q4fox7X4lXTcRzI+jctUedRBkGV3Mdnc0BjNJSpDtwgSGkl2X3+Mdx wta8gd1EGhJXd4nPM3NqxUy4Ng868W38Ba428egr8AIFucq+s9a9ViEfawYr2nmvK88n k/OQ== 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:dkim-signature:date; bh=7Jo4OhEjD0Gr3HR0mQmqnLOLQJfzNTqGMFbzQ8sCI58=; fh=Q7Xyra3jJ821tYDoDSQz/D0IDJVCt2WXaCQtwq465us=; b=i3jQ3u1DMCv9iam9EH/B1GgCae7FFUpqPH0j++ZuCHncGJCo0uLyzBgMuzjd2EdRwr xnzLwYymYv8AmgyMrHQF2mba+H2CAe60ZYbRF5A9C/0Lfqmgg1/R9Hij3SdONpbqDbBn aunQ0Ckuies5geAPOMohIaz7QOUoEk9XoDargg3Vg8iWVgNmqcrvOdC/W9f72hJATAQO 5NG3BUdUXKYnf3O5l415bZJGGk2Ry43Qx5dPl+Q/dRX93DxghJz/L6UJVFokuIq6YvO6 hzzSbl92KflxZqwh68DqHlO6ZXLyLnSaL9WuXksRmrJ+WUTL6iqtD9hv963aopdRIDFk 0cDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=aBwkrMxh; spf=pass (google.com: domain of linux-kernel+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j8-20020a635948000000b005c66e020cb7si14512042pgm.713.2023.12.16.11.10.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 11:10:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=aBwkrMxh; spf=pass (google.com: domain of linux-kernel+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F024128284B for ; Sat, 16 Dec 2023 19:10:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84CC731A72; Sat, 16 Dec 2023 19:10:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="aBwkrMxh" X-Original-To: linux-kernel@vger.kernel.org Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (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 DCD3930FBF for ; Sat, 16 Dec 2023 19:10:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Sat, 16 Dec 2023 14:09:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1702753798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7Jo4OhEjD0Gr3HR0mQmqnLOLQJfzNTqGMFbzQ8sCI58=; b=aBwkrMxhYp1Gh3yrZD+TnzIcXfKJ2M6qkWjg+iLI5SvesFaws5G/8umhhgX94FqR9Byi8q vJSS5lQihW3+1+YRLnOg/Fl6E5R34Egaz26tKoCFx+WK/gGR0vYsu9599liGo5FpGe6FHu 1p6n7YkWtHn7GhIxJ8rA/FzqX1Wq3AU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, tglx@linutronix.de, x86@kernel.org, tj@kernel.org, peterz@infradead.org, mathieu.desnoyers@efficios.com, paulmck@kernel.org, keescook@chromium.org, dave.hansen@linux.intel.com, mingo@redhat.com, will@kernel.org, longman@redhat.com, boqun.feng@gmail.com, brauner@kernel.org Subject: Re: [PATCH 26/50] rslib: kill bogus dependency on list.h Message-ID: <20231216190954.vjcgab7ttfrqk522@moria.home.lan> References: <20231216024834.3510073-1-kent.overstreet@linux.dev> <20231216032957.3553313-1-kent.overstreet@linux.dev> <20231216032957.3553313-5-kent.overstreet@linux.dev> <5a5daf77-ba00-49db-a963-e343a0b2b8cf@infradead.org> 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: <5a5daf77-ba00-49db-a963-e343a0b2b8cf@infradead.org> X-Migadu-Flow: FLOW_OUT On Sat, Dec 16, 2023 at 11:05:08AM -0800, Randy Dunlap wrote: > > > On 12/15/23 19:29, Kent Overstreet wrote: > > list_head is defined in types.h, not list.h - this kills a sched.h > > dependency. > > > > Signed-off-by: Kent Overstreet > > --- > > include/linux/rslib.h | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/include/linux/rslib.h b/include/linux/rslib.h > > index 238bb85243d3..a04dacbdc8ae 100644 > > --- a/include/linux/rslib.h > > +++ b/include/linux/rslib.h > > @@ -10,7 +10,6 @@ > > #ifndef _RSLIB_H_ > > #define _RSLIB_H_ > > > > -#include > > #include /* for gfp_t */ > > #include /* for GFP_KERNEL */ > > > > What about line 47? > > 47 struct list_head list; It's in types.h.