Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1651280pxk; Tue, 1 Sep 2020 04:27:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3W2J/+x/zcogaFV7STdBEXu0I7sJe+LzeITNTNFDJ2ydb8yek0pCdOf+MVxzejMH3lF3I X-Received: by 2002:a17:906:868c:: with SMTP id g12mr993945ejx.230.1598959640123; Tue, 01 Sep 2020 04:27:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598959640; cv=none; d=google.com; s=arc-20160816; b=CH4n3aOCyxmu5tEwJAAOSBZ88N36exh7FvD8xrj+s0PAzccxTqqrd2c9FVfphTYKDG O67jBAscI+Bva8kKhJrt2aBIHTRJK/ag4y34pUx6JYZUkC43dALErlyzMbCxdL8VJDS7 AZ2iXRFIpcAClnl4+ddIp7UJxTD/tSk9u9qDJAj/SSD+FjagfOtSltIBYP4gESeWjq6V Hqm4sQTueB9fGJJGOiLoE6dQz2DwRwp/BsV4BW2rpgDpU3WHGBqHU1YUNrwKr7F7Ayfn QoknlUcOQdRjyiGDRBpqWfSuJqmxfsHacSnbRYaYyD86/txkDV5PtENk3ISd8zWJ8wOT XU8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=6lc8AOIxQaWAqkTCg0KZdf8W6u0jyi4qjd/xMZyZOoM=; b=SyB/bePxF8ZhUqg5ssiVVdAJT1UAUFO3Cv+pV+JiImPVySvTiVEuvHgmLCjk67RCOc ZRPGk0bfLsvmmRZOx1FakS9UygLRR4CR4kmkTaq9GD6ntoGyM7oeSwks5B+UTRSa/Cw+ R4LCw0whhLN50O7ZgXwre4J7B8Na0Qngnc18m7feVGbDhx2sb6/gb2FsTGHfnYpdR4UH F4yuTz+R9zWJb6ThA/uHxkJEpPrtG+h8jVmcIhxBiW4s3hmTKznZ4C7RQtLtnkmNJ7Um FxnC4qI/vsssqs/TTV2KH1TV464XuXKBVr/ohTiEsQ76i3j4fzampXwmpXm5ihUnpDp7 +OPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=J9Is2TM3; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i10si376980edr.13.2020.09.01.04.26.56; Tue, 01 Sep 2020 04:27: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=@ti.com header.s=ti-com-17Q1 header.b=J9Is2TM3; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726947AbgIALZo (ORCPT + 99 others); Tue, 1 Sep 2020 07:25:44 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:46660 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726722AbgIALYG (ORCPT ); Tue, 1 Sep 2020 07:24:06 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 081BMlwr066864; Tue, 1 Sep 2020 06:22:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1598959367; bh=6lc8AOIxQaWAqkTCg0KZdf8W6u0jyi4qjd/xMZyZOoM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=J9Is2TM39XtwqTfxN/+j+uUdd5Zk9U9xSrewcxongeE/OP+48uK8f6FIWYPpWDNEs Fies7Sa+STz1Gql1B2xdfj39MqZflk+a/orGBbjGt9UDZzsXzmL6GwI1Z4+4+tq3FO xvXK0ZRsWTYudwAINjUrYdGxn8l4m0un5sS8ejQ0= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 081BMlhZ107840 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 1 Sep 2020 06:22:47 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 1 Sep 2020 06:22:47 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 1 Sep 2020 06:22:47 -0500 Received: from [10.250.38.37] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 081BMkXv065418; Tue, 1 Sep 2020 06:22:46 -0500 Subject: Re: [PATCH] ASoC: tlv320adcx140: Fix accessing uninitialized abcx140->dev To: Camel Guo , , , , CC: , , , Camel Guo References: <20200901072710.2031-1-camel.guo@axis.com> From: Dan Murphy Message-ID: Date: Tue, 1 Sep 2020 06:22:41 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200901072710.2031-1-camel.guo@axis.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Camel On 9/1/20 2:27 AM, Camel Guo wrote: > From: Camel Guo > > in adcx140_i2c_probe, adcx140->dev is accessed before its > initialization. This commit fixes this bug. s/abc/adc in the subject and s/in/In Also please add a Fixes tag. Otherwise Acked-by: Dan Murphy