From nobody Mon May 25 08:10:51 2026 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (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 C5714322DB7; Sat, 16 May 2026 18:26:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778956016; cv=none; b=qMbneqXS5eulrC21a4fQryHpcaOauX2KdIwtZNxsqBjnBnBjizc2BicK9uZUUvdL1cVQbmnUFT5o92HRC83pICDHP6W8FOvXNcrCwn2e4lg+hpNgtq+g8PCg86OD/QjWDKefeKtskKi5jOOONp+Byu+ixn3wAyrEWFEqRCwr3JM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778956016; c=relaxed/simple; bh=5NRjr8zzHkUcqAAMbm7x3LPu9+T/wt4SCXaf51TXES0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=emUYVu+/SPiiaXQVGh6+OM+kQ0gDPvoOTmqzV0vLjOtCIDGXtRVtFEEv4oa00b+qP5HeflClPqDgYEpkRbAlhoyHHDf7C6o/iX/ONF2cp9fM87v1mSXU4028ccEJNtvseh0eROE614kh22soLSXnmk398dTxUNsQv8qn+A/ordc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=u7zLm/Sv; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="u7zLm/Sv" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1778956002; 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; bh=XPNmsPEY/N3T861BKhzCvLefPxnkkzhoF4rkecCN/kc=; b=u7zLm/SvcUJhO8FwJdzSEdx7tQP9dmfrqyvieZTwi1uHBHCdPJFVKAKP1qWAfYBFXmaRzW BhnXslUGf+1trAb5F7ERw/lx79jB8CR/m2yR1Q+82lfvrzlcUUIrJAS7fbNqNWLD4ju97V O8Wwqb039zoRcExDr/8YB2Tm9rl8BMw= From: Thorsten Blum To: Herbert Xu , "David S. Miller" , Kees Cook Cc: Thorsten Blum , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2] crypto: drivers - remove of_match_ptr from OF match tables Date: Sat, 16 May 2026 20:23:36 +0200 Message-ID: <20260516182337.874311-3-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1579; i=thorsten.blum@linux.dev; h=from:subject; bh=5NRjr8zzHkUcqAAMbm7x3LPu9+T/wt4SCXaf51TXES0=; b=owGbwMvMwCUWt7pQ4caZUj3G02pJDFkc27Q4jQ3T2drOJcjPvbFt2eVFqUnWlx6vXTHrr1mUZ Mz36fuudJSyMIhxMciKKbI8mPVjhm9pTeUmk4idMHNYmUCGMHBxCsBEljMz/BVdp3zkeWOVAFfM 7moe6TsbXFMvXazsKMtIvjG3xtNy0TdGhrsH+ToYeR4Zqh5Jc0l6voFBelfsKtcjdV7hB9rOTFb ZzAYA X-Developer-Key: i=thorsten.blum@linux.dev; a=openpgp; fpr=1D60735E8AEF3BE473B69D84733678FD8DFEEAD4 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" Drop of_match_ptr() because OF matching is stubbed out when CONFIG_OF=3Dn. Indent bcm_spu_pdriver.driver and its members while at it. Signed-off-by: Thorsten Blum --- Changes in v2: - Drop omap-des.c because it doesn't compile with CONFIG=3Dn and requires other fixes first - v1: https://lore.kernel.org/lkml/20260516114941.741140-2-thorsten.blum@li= nux.dev/ --- drivers/crypto/bcm/cipher.c | 6 +++--- drivers/crypto/qcom-rng.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/bcm/cipher.c b/drivers/crypto/bcm/cipher.c index 2bce15dc0aa8..240b40ae9cd6 100644 --- a/drivers/crypto/bcm/cipher.c +++ b/drivers/crypto/bcm/cipher.c @@ -4698,9 +4698,9 @@ static void bcm_spu_remove(struct platform_device *pd= ev) =20 static struct platform_driver bcm_spu_pdriver =3D { .driver =3D { - .name =3D "brcm-spu-crypto", - .of_match_table =3D of_match_ptr(bcm_spu_dt_ids), - }, + .name =3D "brcm-spu-crypto", + .of_match_table =3D bcm_spu_dt_ids, + }, .probe =3D bcm_spu_probe, .remove =3D bcm_spu_remove, }; diff --git a/drivers/crypto/qcom-rng.c b/drivers/crypto/qcom-rng.c index 0685ba122e8a..150e5802e351 100644 --- a/drivers/crypto/qcom-rng.c +++ b/drivers/crypto/qcom-rng.c @@ -265,7 +265,7 @@ static struct platform_driver qcom_rng_driver =3D { .remove =3D qcom_rng_remove, .driver =3D { .name =3D KBUILD_MODNAME, - .of_match_table =3D of_match_ptr(qcom_rng_of_match), + .of_match_table =3D qcom_rng_of_match, .acpi_match_table =3D ACPI_PTR(qcom_rng_acpi_match), } };