Message ID | 20241205-const_dfc_done-v3-2-1611f1486b5a@quicinc.com |
---|---|
State | Superseded |
Headers | show
Received: from pv50p00im-tydg10011801.me.com (pv50p00im-tydg10011801.me.com [17.58.6.52]) (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 51A796AA7 for <linux-media@vger.kernel.org>; Thu, 5 Dec 2024 00:11:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=17.58.6.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733357489; cv=none; b=Lri85O34BCvIqBZw08Ak4p3kaFvYWmqxbWXj72ylfzfqyR2/bSojE9Oa+TiVbN+ngUxTnENDgTUQn//GOoxCdsC31u4rLlQYj+/Z6PAIcp4o1zdwCaRsFjK4dnNLPX90NmWxbZXUZPzzHXxY2ZE1VDUep/iYKpShiG8XN9cqwf0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733357489; c=relaxed/simple; bh=REZF6/hkKTlwm2A1iapKIp3QBE0n/m1TORFl69tFs5Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jZCmkSkj/Q1qp7b4jpWAviVlGHl7tiBMrMOWtg06U4IxggklE9nxVLketpFl9eU4jDCfzp2YptcQ/8RQEm5QHyUERqq1Ak9gP6vMo7Yk9GeMeRuV4CfZRm1MFHDl2HVybwQdlXRw4rV78JWs3qNTolqq+RGZ1KQD8fak5y5N2Ik= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=icloud.com; spf=pass smtp.mailfrom=icloud.com; dkim=pass (2048-bit key) header.d=icloud.com header.i=@icloud.com header.b=01AUCv/V; arc=none smtp.client-ip=17.58.6.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=icloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=icloud.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=icloud.com header.i=@icloud.com header.b="01AUCv/V" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1733357487; bh=J5dZErqHWkqkbiTZ/fetJ0ewz9CCUgVEnKPjhnCoIqc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To: x-icloud-hme; b=01AUCv/VOnVd/OpcOMyJLqg2MZhYvalNTdwO/nf0pjuIuCQLpj8bCXqabLO3SaN+J yRezCqItFjRcLdX9nJzu237LUed2yPzXsY+/z3Bo6gNkEVB3W9yoc1HZqA3v4M54o8 PRNj5gwMNxcG7FCAC5KNWEJKPRNYxtOFboIqr6bCedwbXPzKHekydcsZuvRPOMznRd bFFFvSMydgDu0u1w00EXuuVE+7kMVLHj6AnKylpWz4tfAQPDPCflMQ38GJhMahs1MD HX2HC+mvs7/FDeobHf6rtbJlEmAE69sIodmpbQcX7E7pvuwFiV4HVeCK5x5e/tZzaI wyKIbjoLM/rdA== Received: from [192.168.1.26] (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-tydg10011801.me.com (Postfix) with ESMTPSA id 8B0E680030E; Thu, 5 Dec 2024 00:11:16 +0000 (UTC) From: Zijun Hu <zijun_hu@icloud.com> Date: Thu, 05 Dec 2024 08:10:11 +0800 Subject: [PATCH v3 02/11] slimbus: core: Constify slim_eaddr_equal() Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20241205-const_dfc_done-v3-2-1611f1486b5a@quicinc.com> References: <20241205-const_dfc_done-v3-0-1611f1486b5a@quicinc.com> In-Reply-To: <20241205-const_dfc_done-v3-0-1611f1486b5a@quicinc.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <ukleinek@kernel.org>, James Bottomley <James.Bottomley@HansenPartnership.com>, =?utf-8?q?Thomas_?= =?utf-8?q?Wei=C3=9Fschuh?= <thomas@t-8ch.de>, Zijun Hu <zijun_hu@icloud.com>, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev, linux-sound@vger.kernel.org, sparclinux@vger.kernel.org, linux-block@vger.kernel.org, linux-cxl@vger.kernel.org, linux1394-devel@lists.sourceforge.net, arm-scmi@vger.kernel.org, linux-efi@vger.kernel.org, linux-gpio@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-hwmon@vger.kernel.org, linux-media@vger.kernel.org, linux-pwm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-scsi@vger.kernel.org, open-iscsi@googlegroups.com, linux-usb@vger.kernel.org, linux-serial@vger.kernel.org, netdev@vger.kernel.org, Zijun Hu <quic_zijuhu@quicinc.com> X-Mailer: b4 0.14.2 X-Proofpoint-ORIG-GUID: A5avaC9zWkEyGxiUZV1XaLznKCTQ9MaZ X-Proofpoint-GUID: A5avaC9zWkEyGxiUZV1XaLznKCTQ9MaZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-12-04_19,2024-12-04_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 malwarescore=0 clxscore=1015 phishscore=0 suspectscore=0 bulkscore=0 mlxscore=0 spamscore=0 mlxlogscore=738 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2412040186 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 |
Series |
driver core: Constify API device_find_child()
|
expand
|
diff --git a/drivers/slimbus/core.c b/drivers/slimbus/core.c index 65e5515f7555e2eb840fedaf2dc4cc5d76dbc089..b5d5bbb9fdb6614ffd578f5754226b50e394f0df 100644 --- a/drivers/slimbus/core.c +++ b/drivers/slimbus/core.c @@ -328,7 +328,8 @@ void slim_report_absent(struct slim_device *sbdev) } EXPORT_SYMBOL_GPL(slim_report_absent); -static bool slim_eaddr_equal(struct slim_eaddr *a, struct slim_eaddr *b) +static bool slim_eaddr_equal(const struct slim_eaddr *a, + const struct slim_eaddr *b) { return (a->manf_id == b->manf_id && a->prod_code == b->prod_code &&