Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2267614imu; Thu, 29 Nov 2018 02:10:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/VhOR3OlfuR1nW2BR9t30QE5rniXvs6wcvtnwQwzYZtM1Ril1SZnR/szKS6ByKTQ8u1J6kP X-Received: by 2002:a17:902:8507:: with SMTP id bj7-v6mr810762plb.99.1543486254103; Thu, 29 Nov 2018 02:10:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543486254; cv=none; d=google.com; s=arc-20160816; b=KPAnD1+7GykI9UBBOqBlMi2DMC5BcnvvByyJOpYFPeI+cDocojFAGGwAnylILIen6Q BGoSjNGrZNOuMnI1peRKxPoWIRsBeWBmigO4RCqJJm22Zgq3ix8T7zoIQDRNHwGfv0ST ok7CU4AtZCnxJXU7iJrU+zaO90zurJNtmX6jbAFcBKRmAvRKxG6ehWwnvCkhhskgx0F9 o6rbX3D+HrrUIGecL/Mw/Mv4B0FM1J85vMUo0zXDvl4wLrfSBsu3Oqf2m8rEEiuC0M1P ZecZ//Vs97Ij9gBEcaXE7M83e3l8y6UfSfrVgaJXFJ4eWQrklcaYqbFli4ym3mebzhqe tnOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:message-id :date:subject:cc:to:from; bh=bGuskrc9IEol+xrtkvrNUGPdxocveRc7xbMSmil+Sao=; b=GXWR5iaAj6N6y8qKFnvptyfOBCHlrCbwC/BBTDVGuqTJr8M2OrLr9zx5pHuMTOVKVE IXiO5dMd4SW82t/QxjfvcCVUSCx77cUGho5GN0DMGuznDWnVqoo78c4ndcGb2QPmGAqy JubpXmgO+/376lSFUMDzGHlwmv7zRmSd/uNaH+n5N1hdERN1vPWNHLaKs36AADG5hjMs 8lBoaF2t1wrv3C9RPLwFYhf0xCR57AKBI6mlGa64VUM1xuEyU013kInEtxqvpm5r3l+M C8JbjEeUnSpoeZy3Zc1WwSc25CZfFhytLoXWP8SSkI497e31jXI2J/zdDkm0m338mKCy SP1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=eBFAflzH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o68si2049401pfo.140.2018.11.29.02.10.39; Thu, 29 Nov 2018 02:10:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=eBFAflzH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727736AbeK2VOo (ORCPT + 99 others); Thu, 29 Nov 2018 16:14:44 -0500 Received: from hqemgate16.nvidia.com ([216.228.121.65]:2679 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbeK2VOo (ORCPT ); Thu, 29 Nov 2018 16:14:44 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 29 Nov 2018 02:10:01 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 29 Nov 2018 02:09:55 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 29 Nov 2018 02:09:55 -0800 Received: from HQMAIL103.nvidia.com (172.20.187.11) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 29 Nov 2018 10:09:54 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL103.nvidia.com (172.20.187.11) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 29 Nov 2018 10:09:54 +0000 Received: from niwei-ubuntu.nvidia.com (Not Verified[10.19.225.182]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Thu, 29 Nov 2018 02:09:54 -0800 From: Wei Ni To: , , CC: , , , , Wei Ni Subject: [PATCH v4 0/3] Fixes for Tegra soctherm Date: Thu, 29 Nov 2018 18:09:40 +0800 Message-ID: <1543486183-2868-1-git-send-email-wni@nvidia.com> X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1543486201; bh=bGuskrc9IEol+xrtkvrNUGPdxocveRc7xbMSmil+Sao=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=eBFAflzHZcloVeJv+vj5TCjsuFc7zdxEn/PSRHNWKycOTgL2kqN5ozKe7gJwPuN8B irNvcA97XkhARuZag5B0NxZ1D51aY7JuBDKN+ckncUoFGOIktiZKvZDvLonuKM/jyL uYj1zrzA3KItUxPJ9ul3+AJzi0aHSS5Z/RkWcOvCNiRDuPcE9O2OYDvXeilq8r6LE/ SGh9k8KZJ9hitfAXP5NsUFCwglOxIeU+dw8h9Mv8hu+08zaN/DFVFpk0vhhqIfvbV8 uTA1F7J+2vz4jSKg1NEFwKg9CkSmicuAxzZahWqKaOOkGkFZH3mfRweXaFZm6C7x6v 6W+f+GaANjBJA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixed some issues for Tegra soctherm Main changes from v3: 1. updated codes for parsing sensor id, per Thierry's comments Main changes from v2: 1. add codes to parse sensor id to avoid registration failure. Main changes from v1: 1. Acked by Thierry Reding for the patch "thermal: tegra: fix memory allocation". 2. Print out the sensor name when register failed. 2. Remove patch "thermal: tegra: fix coverity defect" Wei Ni (3): thermal: tegra: remove unnecessary warnings thermal: tegra: fix memory allocation thermal: tegra: parse sensor id before sensor register drivers/thermal/tegra/soctherm.c | 54 +++++++++++++++++++++++++++++++++++----- 1 file changed, 48 insertions(+), 6 deletions(-) -- 2.7.4