From nobody Mon Feb 9 05:20:27 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 8546E1B21A0; Mon, 18 Nov 2024 15:03:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731942193; cv=none; b=kufgx061UclKr8Gf3bxGLWW27FHIo3D5h+Ataxr2HFAOl7bKkuclPwoRQrGAHPTZWy0io5X3aohFtRON1cGHkNn9ePUdZ5xxb4z8tEBn6EHweXMqctbCWlC/YTdhJWg3xC/0Zu7PPTV42ZzY218+OMsmtitb/TKHYRbFd171+Tg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731942193; c=relaxed/simple; bh=wanikvVx55Q2iWKAifFPxcBSccEU3MSG8wjRU6lkedA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qnp0wfLV2LNMpZ0lwpSHCfF4AyTcSaE2uDE5jNZf+vWPDMS+rmmdibQ/17aRI2SYsjw2hEibabJw86SqiK2lUMuZaLrM6KQ94/HP7gQOH/CSUBNVUq8wHA0qesViNLZfSIsQ6g6hJ4UoOwAyc6fx95eRe1HRSGo+MUcqiXU3w5M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=LT6ozaV9; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="LT6ozaV9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1731942187; bh=wanikvVx55Q2iWKAifFPxcBSccEU3MSG8wjRU6lkedA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=LT6ozaV9+SGX3smbiroyIdiAUyHy3jO21OkA7bT+dcEWMLfCSw7UPjd2DUcpnjWCB q3ojNF4XT/+BdPuppdYcnTMF23KfA7q7Gxg8ZJYBoAcDdzPT1ExL/ygKqN2zLaBmrr cnzpxA+/iatbg8lvXf99+zIdzWq5AiU1ODeV2ugI= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 18 Nov 2024 16:02:47 +0100 Subject: [PATCH 1/3] perf: arm-ni: Remove spurious NULL in attribute_group definition 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241118-sysfs-const-attribute_group-fixes-v1-1-48e0b0ad8cba@weissschuh.net> References: <20241118-sysfs-const-attribute_group-fixes-v1-0-48e0b0ad8cba@weissschuh.net> In-Reply-To: <20241118-sysfs-const-attribute_group-fixes-v1-0-48e0b0ad8cba@weissschuh.net> To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Robin Murphy , Will Deacon , Mark Rutland , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Peter Zijlstra Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1731942187; l=835; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=wanikvVx55Q2iWKAifFPxcBSccEU3MSG8wjRU6lkedA=; b=dbOlKuFnLw2c05vLlE1Ltp5tRxeYtT2OdfOx1pn5ntPiIvPkYeOAOwH7VT1+GPF+SMEBqtiKO GEa0gd4UCDYAk2yWqm0N3bLAqgTZyvO0obImcIL/iVwISKM1sJIb8IN X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= This NULL value is most-likely a copy-paste error from an array definition. So far the NULL didn't have any effect. As there will be a union in struct attribute_group at this location, it will trigger a compiler warning. Signed-off-by: Thomas Wei=C3=9Fschuh Acked-by: Robin Murphy --- drivers/perf/arm-ni.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/perf/arm-ni.c b/drivers/perf/arm-ni.c index 90fcfe693439ef3e18e23c6351433ac3c5ea78b5..fd7a5e60e96302fada29cd44e7b= f9c582e93e4ce 100644 --- a/drivers/perf/arm-ni.c +++ b/drivers/perf/arm-ni.c @@ -247,7 +247,6 @@ static struct attribute *arm_ni_other_attrs[] =3D { =20 static const struct attribute_group arm_ni_other_attr_group =3D { .attrs =3D arm_ni_other_attrs, - NULL }; =20 static const struct attribute_group *arm_ni_attr_groups[] =3D { --=20 2.47.0 From nobody Mon Feb 9 05:20:27 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 87F091B6D16; Mon, 18 Nov 2024 15:03:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731942194; cv=none; b=O/34t1gLkrrisJpclOX529f/PKLxHGPWdrQKSoucg3K0BS7862NbK0fpZZFY+Kl8zU69pxDAeSP6kr0OfyRulVvnyjBPI2OHEW4MXGZAsYnfxxqb+3E4pBStmaw6jqSWdAVsQ+gJqw42l8bRAyKHFjhfAPd9TFVLaEnfF/DYSPc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731942194; c=relaxed/simple; bh=DmZT4xsI5doB1i+zhbofwrVYplHbfYJNLzwi59dygA0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=N7epqV0FCMgcSZkO77fAQxJ4BPJJWrTSyh60NUFF+3n6XCnN0FvCtG+oGjaA2OdPWSA8PmHPkyTdQhY8P/8iUDH54tjvLExYZki/8aVn7V+5vHUFqcg3CJHPhMqOR0LNB/+2B3Tjukjyyi2/Srj4jK1oftLzdsR7Xud1H9SbMWQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=Q+9LP9df; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="Q+9LP9df" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1731942187; bh=DmZT4xsI5doB1i+zhbofwrVYplHbfYJNLzwi59dygA0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Q+9LP9dfn8kPonnhF732Ezn1AnVV9P7LCFsyl88U4Cb91wDBnq5LvbUlvG3jHj4sI tTHdpN4n308s6Pj2HWHILTyy8YMXhTIFtZSXjp1dJp194kD6P1PdPt8qCCNTSoTv0m e0W/IVxeLtvVllE1O6epl+iGf4rLpoP5gkvqmtW0= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 18 Nov 2024 16:02:48 +0100 Subject: [PATCH 2/3] s390/con3215: Remove spurious NULL in attribute_group definition 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241118-sysfs-const-attribute_group-fixes-v1-2-48e0b0ad8cba@weissschuh.net> References: <20241118-sysfs-const-attribute_group-fixes-v1-0-48e0b0ad8cba@weissschuh.net> In-Reply-To: <20241118-sysfs-const-attribute_group-fixes-v1-0-48e0b0ad8cba@weissschuh.net> To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Robin Murphy , Will Deacon , Mark Rutland , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Peter Zijlstra Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1731942187; l=862; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=DmZT4xsI5doB1i+zhbofwrVYplHbfYJNLzwi59dygA0=; b=nD8J4pvnXKQqclCRBHqCv4musA1VxnMDFKDJTUm5nofKnNucxbd0ZY+On/5h0gRTZDr8zrl61 QZKOcDJ+kLgBh7upQgIT1XjiyHiveyxsrBJS1Bvs6BwcQmLSorg+l51 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= This NULL value is most-likely a copy-paste error from an array definition. So far the NULL didn't have any effect. As there will be a union in struct attribute_group at this location, it will trigger a compiler warning. Signed-off-by: Thomas Wei=C3=9Fschuh --- drivers/s390/char/con3215.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index dcb3c32f027af6748448600bad51864f6ba5d9a1..c763c50d1454676f223e8b29a92= f5fb45ddd7932 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c @@ -803,7 +803,6 @@ static struct attribute *con3215_drv_attrs[] =3D { =20 static struct attribute_group con3215_drv_attr_group =3D { .attrs =3D con3215_drv_attrs, - NULL, }; =20 static const struct attribute_group *con3215_drv_attr_groups[] =3D { --=20 2.47.0 From nobody Mon Feb 9 05:20:27 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 5C38B1AC43E; Mon, 18 Nov 2024 15:03:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731942193; cv=none; b=KDkX3PvHDcx2XjfRUz6wr5nAy8MwvMAGwsvO0OE1zFW7vOZiV9NWl9d0arefQYsTB2/YSVb1sTrWGmj1cfyE76FyIm5I6FR6KE6QwxHz56yWlysAhhl99ytZFGMM3gKESQ4zQVou2pOJWNsjZpoQUHD+uKLUWI+u5tY/i7gOIMw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731942193; c=relaxed/simple; bh=Y6IKnnnehrgtsOGYcC4soeo5EMiO1x9gQENuPzItkvw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=k1HLydlOcVx9CmBZcNuduBqH+j3bGOKlVYr4hoBTammaMEw7hEC3s7ZT4eT97iye4cdyYDkjR+mrqkffLoIkj37WM8+BVI51xSRWYGZcF7xiHiI2xCmAgkDDZn2rCsihW5vEH4SZCiADWkPACePHdonEgVClpH7XFpF5v8+XzZQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=qKVE/Hso; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="qKVE/Hso" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1731942187; bh=Y6IKnnnehrgtsOGYcC4soeo5EMiO1x9gQENuPzItkvw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=qKVE/HsoamW7WBskfH/JsFzqNNnUf/9fRciYOl7BrVHQXChEVo/w4I3wRgSQ5AUAW Vb4vvj5ITSI/+WNv+Q2iQ2YgzjhvabKGVsAscoMYItGIak7OwlNAzTS6UQVDerSbli NC2t654mYZuILJ2S2lxjBfPZgTIirWgI1p6S96sk= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 18 Nov 2024 16:02:49 +0100 Subject: [PATCH 3/3] cpu: Remove spurious NULL in attribute_group definition 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241118-sysfs-const-attribute_group-fixes-v1-3-48e0b0ad8cba@weissschuh.net> References: <20241118-sysfs-const-attribute_group-fixes-v1-0-48e0b0ad8cba@weissschuh.net> In-Reply-To: <20241118-sysfs-const-attribute_group-fixes-v1-0-48e0b0ad8cba@weissschuh.net> To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Robin Murphy , Will Deacon , Mark Rutland , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Peter Zijlstra Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1731942187; l=1161; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=Y6IKnnnehrgtsOGYcC4soeo5EMiO1x9gQENuPzItkvw=; b=SSps8DBII7qesqAsv+xf0NzLA2Q2RkAGnWvq5dXhTqti/ZR3bY+tTVFcPUvGfpHjOTATQg1/u H3o+/TmtbdRCrrDyEimbS9Q1Keupowt8TUyAnhPOvDjwEHLC8qQl6tc X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= This NULL value is most-likely a copy-paste error from an array definition. The NULL doesn't have any effect. Signed-off-by: Thomas Wei=C3=9Fschuh --- kernel/cpu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index d293d52a3e00e1e8d7c82bdf2f1365bb459f8bb6..f3ee615d2274f161857ef018045= 4f30b54477cc1 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -2866,7 +2866,6 @@ static struct attribute *cpuhp_cpu_attrs[] =3D { static const struct attribute_group cpuhp_cpu_attr_group =3D { .attrs =3D cpuhp_cpu_attrs, .name =3D "hotplug", - NULL }; =20 static ssize_t states_show(struct device *dev, @@ -2898,7 +2897,6 @@ static struct attribute *cpuhp_cpu_root_attrs[] =3D { static const struct attribute_group cpuhp_cpu_root_attr_group =3D { .attrs =3D cpuhp_cpu_root_attrs, .name =3D "hotplug", - NULL }; =20 #ifdef CONFIG_HOTPLUG_SMT @@ -3020,7 +3018,6 @@ static struct attribute *cpuhp_smt_attrs[] =3D { static const struct attribute_group cpuhp_smt_attr_group =3D { .attrs =3D cpuhp_smt_attrs, .name =3D "smt", - NULL }; =20 static int __init cpu_smt_sysfs_init(void) --=20 2.47.0