From patchwork Fri Mar 29 21:11:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13611103 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 D9CE513BC0C for ; Fri, 29 Mar 2024 21:12:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711746728; cv=none; b=DsY5GQi7dpr0oP0ItwhYt+Ik/OvKGR9EhADqMYhLWt8jhyb1l/ub3ms4nvsK+ZspLnQC2EWyUSVEIUlrmekUa9VMX7hWHJj6bTwmCYvXqFFBjfAGrj0d8NVFK7s3F5vAHJAVK/DsGkPo006gaWHljYIpeUmEE0thJtFGotWziX4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711746728; c=relaxed/simple; bh=JtTL+c2bS9aqbGNEYLyo6HGZV7l/VlUDv6dCdKlmUBM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=tmJzN6LHze536FLSyAq4r+3wcB7BebEXJR4JHkyCoEaQ207zlWI3zs/JLatMIP02t95Vz9YnCbhG4UOL2jTEF0a2XQqUxOf7Ns7tTxJVc6Wg0svi1qWkw7M81v4qcHwcln27ziZqSSrBaKVG8moA9UmzefEA2jx8HMBsiXk5WdU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rqJVy-0001yF-D5; Fri, 29 Mar 2024 22:11:54 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rqJVx-009GFO-64; Fri, 29 Mar 2024 22:11:53 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rqJVx-00DTbq-0K; Fri, 29 Mar 2024 22:11:53 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Finn Thain , Michael Schmitz Subject: [PATCH 0/4] scsi: Prevent several section mismatch warnings Date: Fri, 29 Mar 2024 22:11:40 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=880; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=JtTL+c2bS9aqbGNEYLyo6HGZV7l/VlUDv6dCdKlmUBM=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmBy6NXVfMslrPLjkOkeq7mIZbqPjp3E8rCJiB+ OHgjgP80fyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZgcujQAKCRCPgPtYfRL+ Tp30B/485swCHclkSUfxdbzl6LRqoMGm/3w3ra76KMgu7JCNI31x31py2PnVssaLu2xa4MetMuR 1LILiSkP/Sqbnghqi1Ke/Uez1WRb3Wheiq+Ohik2C9r2kYLArykfj/RQdCgBdKzZbP03GMelwX6 LdO+NLL3qlJKs1yOijXe5CJIQWpU/0gav18m7j+k2AARJZB9+nHyQ8h3rHHpQC+MqQ7fSwiQs71 KRsoP5nXxc4pJFK5KlAk+8UBJe63ZQufpCLXornZ9M1GHOZ49ax4DkLVqdKXewEZi8GGS/0Gxd2 jPxIDt0c2G+kvhmObS3Ux97sacdQv8RWV2uyGB9tFYZoILTa X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-scsi@vger.kernel.org Hello, this series fixes the same issue in four drivers. The warning is a false positive and to suppress it the driver structs are marked with __refdata and a comment is added to describe the (non-trivial) situation. Best regards Uwe Uwe Kleine-König (4): scsi: a3000: Mark driver struct with __refdata to prevent section mismatch scsi: a4000t: Mark driver struct with __refdata to prevent section mismatch scsi: atari_scsi: Mark driver struct with __refdata to prevent section mismatch scsi: mac_scsi: Mark driver struct with __refdata to prevent section mismatch drivers/scsi/a3000.c | 8 +++++++- drivers/scsi/a4000t.c | 8 +++++++- drivers/scsi/atari_scsi.c | 8 +++++++- drivers/scsi/mac_scsi.c | 8 +++++++- 4 files changed, 28 insertions(+), 4 deletions(-) base-commit: a6bd6c9333397f5a0e2667d4d82fef8c970108f2