From patchwork Tue Apr 23 19:23:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13640599 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EB3F0C4345F for ; Tue, 23 Apr 2024 19:26:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=YWoGMLp/+7he5SWJM+Uc+1M6S4MfaCs1kBRqA79+AjM=; b=nrHGTtAcy1QPe2 ttkbcXr6HcQCQzcKDRyTS1kSpTKBrEH9lIb6ZS2MzBCOdyNVXah3EmhJyQ5qILaI9o6OBEtbF5UnI 7NzdTCg87Hq3j8lu864r8ukHg9+U7xZyvmae41L4ZEonF5Im4dDck88DDFNILpolkEzrWLgGvJ3kn gAJ7j53P8bZVMvXcisk5ecH0TFanl/jelqJ2GGdF9fWY2sIfQfeQwaqYKuEeozf8+mWNZYIoQ9Cvk 3DvxuxtWtl1SvCIq8jYZeZfobyWAhd/jbsxlVDnp8LtWVJc7a7TK5dSSFSX4T3etWiobvE4ONLQ7t nHYpobr26O2AQVp8h+6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzLmV-00000001HBa-2p4e; Tue, 23 Apr 2024 19:26:19 +0000 Received: from mgamail.intel.com ([198.175.65.17]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzLlu-00000001Goy-2QYP; Tue, 23 Apr 2024 19:25:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713900342; x=1745436342; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2bbhNMcCCiv6N+ewcEN+Y+F2rWYZystG+A1e4eVfob8=; b=B3QcU1ICIc3skCE27yz4X6KeH2legAC0YnAcOpeei0oljZwYn6BroGLr h9ezBPq0Ss/KcHv5zjoACXbRIx7sGlCuby7p3R/Lf5uAv6euYQozub3hH 2VQe4H942Aw2pDN7TChljyCyl+ughG5O9zXAydABpkAXr1U9HzC21eOQL Bq2etOZrHSsnna4xUWKn/gbRjjRsqu7J6oxuM3Y/LMWKCgvA2dILLZCXz QJ9t8Km2DAKo7KuwlDPTwVZlhoTNQFBx9HJP73CY1VkXjcuW7oU/6nBLD zAtcd55MdFEd0b/rhVP9zrFrUivqBBmDny7qfu3/0+dBzofXATcWBkZNJ Q==; X-CSE-ConnectionGUID: T0BvyQ4hQWaAdNeqw9l+wg== X-CSE-MsgGUID: NKSCQFwdRBiYVfJq8NAQIw== X-IronPort-AV: E=McAfee;i="6600,9927,11053"; a="9613675" X-IronPort-AV: E=Sophos;i="6.07,222,1708416000"; d="scan'208";a="9613675" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2024 12:25:36 -0700 X-CSE-ConnectionGUID: W01uJp+jRGiHboM8QSfWyA== X-CSE-MsgGUID: +a6k97EoTvq99nzBVT7nig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,222,1708416000"; d="scan'208";a="24440741" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa009.jf.intel.com with ESMTP; 23 Apr 2024 12:25:32 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id B1683192; Tue, 23 Apr 2024 22:25:30 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Rob Herring , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-sunxi@lists.linux.dev Cc: Alain Volmat , Hans Verkuil , Mauro Carvalho Chehab , Sean Wang , Sean Young , Matthias Brugger , AngeloGioacchino Del Regno , Patrice Chotard , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Stefani Seibold , Andrew Morton Subject: [PATCH v2 0/3] kfifo: Clean up kfifo.h Date: Tue, 23 Apr 2024 22:23:07 +0300 Message-ID: <20240423192529.3249134-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240423_122542_667940_599A526F X-CRM114-Status: UNSURE ( 8.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org To reduce a dependency hell degree, clean up kfifo.h (mainly getting rid of kernel.h in the global header). In v2: - rebased on top of v6.9-rc5 (Andrew) - retested again with `make allyesconfig` on x86_64, hence first two new patches Andy Shevchenko (3): media: rc: Add missing io.h media: stih-cec: Add missing io.h kfifo: Don't use "proxy" headers drivers/media/cec/platform/sti/stih-cec.c | 1 + drivers/media/rc/mtk-cir.c | 1 + drivers/media/rc/serial_ir.c | 1 + drivers/media/rc/st_rc.c | 1 + drivers/media/rc/sunxi-cir.c | 1 + include/linux/kfifo.h | 9 +++++++-- lib/kfifo.c | 10 +++++----- samples/kfifo/dma-example.c | 3 ++- 8 files changed, 19 insertions(+), 8 deletions(-)