Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2480703ybt; Fri, 3 Jul 2020 10:05:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRdmWmYAyOS5FlR+gNqtUCW27TnmFcqrjsB8daYsmdqIZCI1J9v6chY8TY+tbGfAuzkcyW X-Received: by 2002:a50:ec93:: with SMTP id e19mr15212820edr.254.1593795946259; Fri, 03 Jul 2020 10:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593795946; cv=none; d=google.com; s=arc-20160816; b=nxus/wrBauEJHL7osOoMCuZ4U/pxcDOEzdeefCstmHUn3GLTbR7VnCrU5vHCws51tF zns/tq7EbXPkyVtQmrMstfdgNNv5dNSC0TehgY2VWmhGloOuKk6Exad98eHOTibU+Zl2 OnMh13a/6BGXIFWMUUW0iu0DYjlJe62pjzLcQOOueaQOYozpVtdczjJkvLP6cc+canO1 YZ3dGceRtuw1dNZx57IwPrnT3SwArdJPBD+sSev2pw4Zgojvs4SNj+sb3qnpGCyes4sU QoXIYvA0YAot4z5jwNTO9bIJobqdt7Mz1SYvJXWN4tFmF5CHFWrqzPnYcvkmowNUsKfJ nZIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:subject:references:in-reply-to :cc:to:from:date:dkim-signature; bh=VPQaPR81PUITE4TKB86wvllnLvIKgPqIz7iEt/ZLWCs=; b=E8EqN6AvClPDXLYeO4Sx+JDpuqiJTNXt2hb62LM7Wzbdni8gkfYsHeH9ldtrCejF4J 0QnOahnxjOl2IpNEHdAFeRdOFHubfuE7uy8ZDvPVhZpscNV6vjYTQAJyJGzhK2OxJpnG mi+9mT1gMSu0Fw6L9ufYpzQukTA3Rlp3XzfH24Lym4MPAFeTDO8tn7s/dQMbrf8/jqxK UXygviVKwk93+lcUWZJY954QMXJG2mnz6xJEVjaDq+M/FWRFufVwv2TTZHMoDEui49wC turc+F5VAHZOeP+rKN2wU6ywkfFryA4wd4+MMyGfgGkFd3fH6BLoPqspgSE46IalhJ1d 4jMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Oh/Tqa+7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m26si6529789ejn.625.2020.07.03.10.05.23; Fri, 03 Jul 2020 10:05:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Oh/Tqa+7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbgGCREX (ORCPT + 99 others); Fri, 3 Jul 2020 13:04:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:33988 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726560AbgGCREW (ORCPT ); Fri, 3 Jul 2020 13:04:22 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CC8FC208C7; Fri, 3 Jul 2020 17:04:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593795862; bh=/bHCXUtCQnJvcopt0WJM7dRf94ru/1B7osnqoMSQf5M=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=Oh/Tqa+7ZTrM036HV+frLGeev1dOeWV6LGGqzfIDlMwvP3iQ/OefBKVKIQjI5OEOE POjsYDgQhmodPMX+TyNLZiTct3BfMDzgxChnPbWHNUs+alC4pxxnHZa9PpJUAjpj40 x6p2pl6gCbKR2ORU3nvjaRltQVdwfTU4XfX1xnBM= Date: Fri, 03 Jul 2020 18:04:20 +0100 From: Mark Brown To: linux-kernel@vger.kernel.org, Marc Kleine-Budde Cc: "Rafael J. Wysocki" In-Reply-To: <20200703103315.267996-1-mkl@pengutronix.de> References: <20200703103315.267996-1-mkl@pengutronix.de> Subject: Re: [PATCH] regmap: dev_get_regmap_match(): fix string comparison Message-Id: <159379586016.55960.11665038090774501749.b4-ty@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 3 Jul 2020 12:33:15 +0200, Marc Kleine-Budde wrote: > This function is used by dev_get_regmap() to retrieve a regmap for the > specified device. If the device has more than one regmap, the name parameter > can be used to specify one. > > The code here uses a pointer comparison to check for equal strings. This > however will probably always fail, as the regmap->name is allocated via > kstrdup_const() from the regmap's config->name. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regmap: dev_get_regmap_match(): fix string comparison commit: e84861fec32dee8a2e62bbaa52cded6b05a2a456 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark