From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 39F01384250 for ; Mon, 27 Apr 2026 12:34:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777293280; cv=none; b=WrXuykIXc/j2LtMKqg+dOxSch5mJ7e8aTjEHkQ9jlL0BP7IVRb7cohuopSlBRYJTpY0A/CSrU/Xu1AsI91bN3D0AbtwBhqT5CAKurh8xhfveGEAMX6jVOPB3tgiyQxvAt4x6sR3qdsQHarDkVvnGainQHJ7RAOKYI4LBLT0tspw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777293280; c=relaxed/simple; bh=jCxkAOBQczVa5vCrereqaQuzkFeKTL+bu3gajaEh6CA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=tzrI4gnk1cmANA91cTjGfxFD/gND15Ohi4aFp1byRmjT/0UbAVV9DLjCbbQ24fuveVCg6007aPxshGmaZyg6aGHyuxaeIPkNQmRX6I4JIXQlBC+EWQEds4i/c82yx/T7ts5eHRsrUvh/SYUb3xlkuQ6TTSSYvWA3YNP/Z1Eif/Y= 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=V4CIzrmN; arc=none smtp.client-ip=185.246.84.56 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="V4CIzrmN" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id C000A1A3442; Mon, 27 Apr 2026 12:34:36 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 8D1BD600D1; Mon, 27 Apr 2026 12:34:36 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 8D3D51072806A; Mon, 27 Apr 2026 14:34:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1777293276; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=jCxkAOBQczVa5vCrereqaQuzkFeKTL+bu3gajaEh6CA=; b=V4CIzrmN9pFd3j7SEkG9OFQ0vIpI09scTnbE9VSkmXByNjy7mXrFik0BSx5UXrJ5fnhSeU AXEhperFc3JOfVThM7o2HmQNv8MR3RNYBeVUFvMU0ElcjaiQSVMIOL5kWbeIEnh4LCqGhx TGT44OnV7YPYydcpkYYmjQb/SNbWH2p3uHNKdp/qRd1fZO3FidxKdtAZNtfihIBakYQR5g bgM53ehi+L4dJrfhVCfueIu6VupSTc78y3Mo8ToYmLCJNPL4RnO1BwO9wgMtM5E6soy78v fFedLg2p/9TK/WIjX8UYfLT+vcrXvGm8r002oBHjTK61COZFFh8X7MldxqiLdA== From: Miquel Raynal To: Florian Fuchs Cc: Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Rich Felker , John Paul Adrian Glaubitz , Artur Rojek Subject: Re: [PATCH v2 2/3] mtd: maps: vmu-flash: fix fault in unaligned fixup In-Reply-To: <20260427114750.2480900-3-fuchsfl@gmail.com> (Florian Fuchs's message of "Mon, 27 Apr 2026 13:47:49 +0200") References: <20260427114750.2480900-1-fuchsfl@gmail.com> <20260427114750.2480900-3-fuchsfl@gmail.com> User-Agent: mu4e 1.12.7; emacs 30.2 Date: Mon, 27 Apr 2026 14:34:35 +0200 Message-ID: <874ikwintw.fsf@bootlin.com> Precedence: bulk X-Mailing-List: linux-sh@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 On 27/04/2026 at 13:47:49 +02, Florian Fuchs wrote: > Use kzalloc_obj() / kzalloc_objs() to allocate the memcard structs, > instead of kmalloc_obj() / kmalloc_objs() to prevent access to > uninitialized data. > > Fixes runtime error: Fault in unaligned fixup: 0000 [#1] at > mtd_get_fact_prot_info. Shall this patch receive a Fixes tag if it actually fixes runtime behaviour? Also, please add the 'Cc: stable' line in your fixes. Thanks, Miqu=C3=A8l