Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2428864rdb; Mon, 5 Feb 2024 06:26:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHL9VUZ6Z6PR085WvgHLxMaMjBp1OixhDonSWWMoTYSXG9MRc0GDasGTanz9Cnx3W/8mD0Q X-Received: by 2002:ac8:7ef3:0:b0:42a:ad6b:cf92 with SMTP id r19-20020ac87ef3000000b0042aad6bcf92mr9380790qtc.10.1707143191936; Mon, 05 Feb 2024 06:26:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707143191; cv=pass; d=google.com; s=arc-20160816; b=AaOzSdOh1GRgNZYhG2CYEPQTegX3dOxfXyq8FfGZU7MCCsTcNDtiN7pK+oMslx+Tcw RAq4I8CwoiyMjKRB/V3tJqYGlNl1Sry1I/WXSCtZBN3oK+oIcwzAHJbEmET8YiubddNQ lIcU1BTaYIKWXWipIBIkU9UJjZ3oiziILLUhP7YRdQeOvT98oDg/uRe0ZAkZuKSXuZLE x/MoE3hnof7RKlxWecg7owfJ2AdzBowNSmNAPlaUzKqGVM/RZ60jPSGAW8r4/wmWjE0U 8NLACSrJIKT1iXmIAlLYvJtum3AoOYzZm6TtJmCLZ3TOD46h8SlxwRlCeUXbNL55VUfO AXFw== ARC-Message-Signature: i=2; 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=AC/wHsk6r4rKaMrstkPBqCLcLZEO4rQpDW0EikvYx9k=; fh=NoGZyR0tfYRsTopt+DCYVEUj6VAkspfCYj7r+jyGD0w=; b=c5bb84vEnKIbmk+CXZN6WNUsWZ4719JyPsRmMqBd9d7vKl1SWa4CYlPfpEBv7flLyC +vkEeDqKHcZEYQ0VrRHs2gwFcB67ND6yV3Ouhl/MDqLiZEjW+AQxnHD75HXUK5q9iPlT cu5Vv4yM+Jkvy7NHYk1G1dAXt0uP+o3XH6i+PXbxMzTCM7KhlHdhCRE8if1ql5RoV849 CBbtNqpGePXuubpQ++iAIiDRajofxgJn3ngsZKAOwPyrPnt34BJzKMbd4tanPWRPqbfI jBnCy9mgv8I0TSxgN0jKsrknx6N8ZRokjBA7sjHzcv8VcYDc6fkUVLPsR9ohbXk0C3a+ HblQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DkEy8pIr; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52814-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52814-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=1; AJvYcCXfoKqdPVPCInzpHdsbsh34s6iqI555rERSQqxPI+dSE/VckwI4iSvbOhCLGvlukSWX6mZ2TGqUN3EF19dl6GUQquCBA8F6jgvDEXD2GA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o17-20020a05622a009100b0042a3360cbb6si8547275qtw.538.2024.02.05.06.26.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 06:26:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52814-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=@bootlin.com header.s=gm1 header.b=DkEy8pIr; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52814-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52814-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 AE0211C230EE for ; Mon, 5 Feb 2024 14:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB7582C197; Mon, 5 Feb 2024 14:26:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="DkEy8pIr" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 9D34D28E2B for ; Mon, 5 Feb 2024 14:26:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707143185; cv=none; b=huAnT+C+/YETbdtXoONOV4HVK7CNtE6NpCAApx4fjVmk9RNZHQD/E60SddnvwWKHacoEN/BjhIxVBX6c+Rw1Z/2aHrQ9widtav27ptjKMiiSWaedIzK3hyYxArsn/fskQvRtDvOOtPULoKDAnL3Hwaw9v+w5CwWYAumwJjUxDQA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707143185; c=relaxed/simple; bh=93ifPHxJSeM2iYaU2Xs0dPEPIKxV57GehpAJ9XmcIZc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=kBaLlHn5cUCUZlZY8wtVDPPHgovyKZbqeoy+D7sUO0fFsR1Y9YheWqWD4Ccf7Qcj7kXmf0FRwnBFL8jq3O8f+IsYOIdzeQvRoay6RP+AoXWsYY8n721JW7LI0Blt7PkuDA0BMOMxTGEuMtulSUDsLtCkifPKB5hAE7wQvFmxOxU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=DkEy8pIr; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 6979B1C0003; Mon, 5 Feb 2024 14:26:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707143180; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AC/wHsk6r4rKaMrstkPBqCLcLZEO4rQpDW0EikvYx9k=; b=DkEy8pIrVKpoDETj4JXr2udeYFAihq+1wyevfSnhx/SxD9NjAt/666dYSA7SmUZwlm79lt XXLvcPZIDDN01E3IaNzjsXfFEaMfLeiYYui9tVKiI/0dXg48yCf/fGotnSErOZPl4j2QGq HIZ9Mgiug1DjtjkSTrb0DKCa4Ha/gGvEUx3AOTihMimSL/Q+Tj4hi8K87C3We0f9FEvf5X di2NqWMOaR2xIAc8xYXazAelkTNid2FbHw2pJxk+nyhjbBXoPMzjAoJDpfobSC19aBh3fK pBbnj29eOlvk3m9oSJYto12B3tvsjtEFWFRZ1dB76hD8fjHFGmWUWR8WmetDwg== From: Miquel Raynal To: Tudor Ambarus , miquel.raynal@bootlin.com, richard@nod.at Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Takahiro.Kuwano@infineon.com Subject: Re: [PATCH] mtd: flashchip: explicitly include Date: Mon, 5 Feb 2024 15:26:20 +0100 Message-Id: <20240205142620.390286-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240205100955.149755-1-tudor.ambarus@linaro.org> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'18af7e357033f1a1cee50db2663ef982b4a2226e' Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com On Mon, 2024-02-05 at 10:09:55 UTC, Tudor Ambarus wrote: > While reviewing the hyperbus sfdp proposal the following problem was > noticed: > > In file included from ./include/linux/mtd/gen_probe.h:10, > from drivers/mtd/hyperbus/hyperbus-sfdp.c:6: > ./include/linux/mtd/flashchip.h:77:9: error: unknown type name ‘wait_queue_head_t’ > 77 | wait_queue_head_t wq; /* Wait on here when we're waiting for the chip > | ^~~~~~~~~~~~~~~~~ > > It is good practice to directly include all headers used, it avoids > implicit dependencies and spurious breakage if someone rearranges > headers and causes the implicit include to vanish. > > Explicitly include in include/linux/mtd/flashchip. > > Signed-off-by: Tudor Ambarus Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel