Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1614582pxb; Mon, 11 Oct 2021 09:31:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyVSc9ClFQjkgoW5CToQ5L53hEmuldFW9/4j0pbvzyaTbMu0DXP8gdguPRrJgceJBJ+YEM X-Received: by 2002:a17:906:2294:: with SMTP id p20mr27601162eja.224.1633969880652; Mon, 11 Oct 2021 09:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969880; cv=none; d=google.com; s=arc-20160816; b=OlD8UhSRaVLArnkPQT36s1FGsb4V0NkUitKcT2OBkp/itkbV/Ois67lNWxAjjKR69t ZpcOK/kI/SNp22iC5HOloe/PPNiWo6Dp8KSeiq/04mL/gPMfvolb9w0TMZ4ZUJe1b4Qs 8OEpqoDHlSWGhScDq4l8MTvWJFzg6i1krc+hauSS7TCk2KudkzUGvu/ihJeuR/5GKQcD Oz6zmElXiQ+CuIKdIKOMYQK9ab3DFWyIHkm7t7XYKSwmGesEQUoVAH8xMLZpqPE9Pqhc 3R9e5vRRgNwMDIIsIZoIImxzBgjmoSoxhkEMMl5CvJkrjbRjlMCp/B1B09m/hz2xecfW +/+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Eiwfrctgjm1D9D1+nCniQqY8yhBCIREK5xPIhJL/nm8=; b=wTYiuGxqQQxl7uFC7fCZaBearKGICJa0+LjDoBsn2KlAXHWZzO5HV/Z1bU2cxcug6c rOrOnLHOm7IBANA4OwAT7RV5VpHn9rW8ofvYdY8UFRmZ9ZWFKaxKj/4aYZ2+/uHq9PY+ bc6PJYySoY47N4oapYYXzaWWN8xoNLhlZRJfZ0Ov6Nfxl9VCLkvWbwaHKuNe1sdNXYiQ exiY32a3OxPjQ72B/Y9LqlSb4Q15rVjglA/wsisjzDrHdYnsbz5T9zCggFUenJTQuB5f WvQjYfMwwJGDwcV4iZcLpgeSGjjd7owaH7iNrvopeixEhbScuB24whh9DUlZxmXOuC2d 4o8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Nbw82ilj; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t20si11315270ejf.58.2021.10.11.09.30.55; Mon, 11 Oct 2021 09:31:20 -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=@linuxfoundation.org header.s=korg header.b=Nbw82ilj; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238046AbhJKNzm (ORCPT + 99 others); Mon, 11 Oct 2021 09:55:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:41126 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237535AbhJKNxl (ORCPT ); Mon, 11 Oct 2021 09:53:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3F31160C49; Mon, 11 Oct 2021 13:51:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633960294; bh=NfUNsgt+VZMmzCIjLXLbWZAAS/BhC6Mm2YmrfctCi2M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nbw82ilj4j/WkMkk7+EOV2Pn6CE12UwUzIJuAC4QDEJV+iEGPMYoGw2wAL8n/JhQg Ikrlc9WGbdzCfpUT2qauEusXkpWH96vEncycQCkm5zyXs7L9InjgzaagNMY0vOfu1s 9OQ/IFbN0qfJso1+TRNK0ufNjTV2aqxrRcgAcGXw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Antonio Martorana , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.10 22/83] soc: qcom: socinfo: Fixed argument passed to platform_set_data() Date: Mon, 11 Oct 2021 15:45:42 +0200 Message-Id: <20211011134509.128878036@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011134508.362906295@linuxfoundation.org> References: <20211011134508.362906295@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Antonio Martorana [ Upstream commit 9c5a4ec69bbf5951f84ada9e0db9c6c50de61808 ] Set qcom_socinfo pointer as data being stored instead of pointer to soc_device structure. Aligns with future calls to platform_get_data() which expects qcom_socinfo pointer. Fixes: efb448d0a3fc ("soc: qcom: Add socinfo driver") Signed-off-by: Antonio Martorana Reviewed-by: Bjorn Andersson Link: https://lore.kernel.org/r/1629159879-95777-1-git-send-email-amartora@codeaurora.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- drivers/soc/qcom/socinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index e0620416e574..60c82dcaa8d1 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -521,7 +521,7 @@ static int qcom_socinfo_probe(struct platform_device *pdev) /* Feed the soc specific unique data into entropy pool */ add_device_randomness(info, item_size); - platform_set_drvdata(pdev, qs->soc_dev); + platform_set_drvdata(pdev, qs); return 0; } -- 2.33.0