Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1225158rbb; Mon, 26 Feb 2024 02:51:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXJOgz5K0Tkx68zFiPyP6altsbxtF2FTPGI5DVbtrB8Li4CTMXfWhb8rWNre/6UbfWM29mJnvO0r9NcZQWc1TuxBBCjks71Gcl/Qjtyfw== X-Google-Smtp-Source: AGHT+IHrZ2MaDAg/jiE3wU5wmjNZs6kwsyBTXeZIkZgmyRWxUbWzHS+Gb3pi1Kd/iJrPf7fnZU9Y X-Received: by 2002:a05:620a:220c:b0:787:ab9f:9c35 with SMTP id m12-20020a05620a220c00b00787ab9f9c35mr9838575qkh.17.1708944710442; Mon, 26 Feb 2024 02:51:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708944710; cv=pass; d=google.com; s=arc-20160816; b=ByLtyFWaQEylfcbPCGpseMcJsRulhhmgecf6m/a3DBleh63eAparYTdZUbLh24ZDxL N1mnHKr7nh1XpjJVDQJgwD82U5f11+gDLQuLtdcffEcX2WTyB9MuS7riuWs2JKtB2/an ugWQVusteavapa6s1TRAOyHT7wIZvag71W+NgVBkT/ZEh6F8l9rxDS6NPLiRhPoj3r2s mq2OjKkLZHECsimw8PwvM4kcHYyDmmPMs0Jv9InYZVdxSJhZ+o5W1zoHpJSBnepZP44A eQF/Fvh9ybRWlQ/QYcyQREUXk8SiGD5cZ4jjQhsVnN2rrvUv1xCcxsmo9nIopy0PGxmA SA3w== 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=iGgPJz7fSzd/AZd1yCsvBP21oXYDl6x0rUru9QRjD0w=; fh=gw2i3I2VZxDORJ0pUEUukl7ACFEvNzViLfOLO/srfho=; b=mgxMi9gknXVUmS5Ladn5VNS0h/0gLVxyWpsueAknhysI75jxcjZJs4hWAMU02bb6J6 GgzDr16BI94a0Fa6utj87RxkACCApAgHUFraX3xhhnHdXq2F3/lUd6RCYvFQiEmcWfJ/ hL2ysHeTLCGfzreLhzGK0pMyDlHPc+Pn88ayWVMvGuheP3ihFD7/1dOq2BOmArNlbUAW vomG43rfEDSyDxtuo2oXn5gtLxQDgJazcYa7g7E+irdPmUPNoFGzELCofC+1RZ+Jgjj6 szd7XAd/SvcLb/rcZjrIthW/nI/FWi8CDMlDRkPu06sgdail+RBrH2uyDlswo/LO/AWH Saiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DVwvJSXc; 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-81202-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81202-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g24-20020a05620a109800b007871947002esi4743928qkk.177.2024.02.26.02.51.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 02:51:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81202-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=DVwvJSXc; 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-81202-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81202-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 BF7891C28BAC for ; Mon, 26 Feb 2024 10:50:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FFA35579A; Mon, 26 Feb 2024 10:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="DVwvJSXc" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 A9FD454F9F for ; Mon, 26 Feb 2024 10:44:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944298; cv=none; b=EX1+Ct5bRdPOR/KlAUkfmfDXB+S6jW9RjfSjjCxrSCsG/Zo28dFA6n6svoZ3q3yv9uVnTeZrNhcrvJmIcyP2ysIOZNC2+5vcn7bLH9HypKWpr6MP4PcQAhfvt+SKJUCokoXCDgTfOldi6FMFhFkXILjbnKI7KVcD5AxbJ8lBGZ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944298; c=relaxed/simple; bh=nj7tYez+LHia6toK2y4Hm7RfLH1JHuWltTwOQmbktg4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sjyHXPJPT/48DfyX9d0Yf7di8qjsuwDG7uYsMd9x/9/gRapsigv/AcqE0momzzubAbRuWz6dqojxFJt+X/MDtWmwbHSDCeI2yp8WznDS0D4jYLNzMFyVfM/dCaNdQsVQuLtTj0BjuhZOyL3P+xm7d4tsLrAXI+NF5nw0625NvNc= 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=DVwvJSXc; arc=none smtp.client-ip=217.70.183.195 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 DF8E860004; Mon, 26 Feb 2024 10:44:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708944294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iGgPJz7fSzd/AZd1yCsvBP21oXYDl6x0rUru9QRjD0w=; b=DVwvJSXc5bXXPn2OPpJw7oRqWLPyrxYwOS3U3LQ/yXluXgLPB8m7RJsSCoqZgY1P20oC64 qllddgqLbaLor00kNBhegbQIVaGaKDOmgvk6sHoR4HyP4SGAE1xX9QDLLR8UGeVWB5cysR bBdJy2znddpu9ejf/buZ5G48djWvNj3SiUtJuT+SQ4k90crC1gkxfcIKVwRq5VMMgNKokE ynUOOV3c9mdL+oSNN1TelRJU62h0pvjpTo0ZjvYIhKbrRc6aSdKBgt8iC9J2ORJ9fUdXuM 6p+hWmfX+IrtkE7Ij4Mrhfq23om1OPNsKQynZXuRKALOGTXzC8LscfZmVv4QYQ== From: Miquel Raynal To: Arnd Bergmann , Miquel Raynal , Vladimir Zapolskiy Cc: Arnd Bergmann , Richard Weinberger , Vignesh Raghavendra , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Martin Blumenstingl , Roland Stigge , David Woodhouse , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] mtd: rawnand: lpc32xx_mlc: fix irq handler prototype Date: Mon, 26 Feb 2024 11:44:52 +0100 Message-Id: <20240226104452.490015-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240213100146.455811-1-arnd@kernel.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'347b828882e6334690e7003ce5e2fe5f233dc508' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com On Tue, 2024-02-13 at 10:00:09 UTC, Arnd Bergmann wrote: > From: Arnd Bergmann > > clang-16 warns about mismatched function prototypes: > > drivers/mtd/nand/raw/lpc32xx_mlc.c:783:29: error: cast from 'irqreturn_t (*)(int, struct lpc32xx_nand_host *)' (aka 'enum irqreturn (*)(int, struct lpc32xx_nand_host *)') to 'irq_handler_t' (aka 'enum irqreturn (*)(int, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] > > Change the interrupt handler to the normal way of just passing > a void* pointer and converting it inside the function.. > > Fixes: 70f7cb78ec53 ("mtd: add LPC32xx MLC NAND driver") > Signed-off-by: Arnd Bergmann Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel