Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755180AbdFWU0l (ORCPT ); Fri, 23 Jun 2017 16:26:41 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:51655 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754955AbdFWU0j (ORCPT ); Fri, 23 Jun 2017 16:26:39 -0400 Date: Fri, 23 Jun 2017 22:25:45 +0200 (CEST) From: Stefan Wahren To: Christophe JAILLET , rjui@broadcom.com, sbranden@broadcom.com, kernel@martin.sperl.org, rafal@milecki.pl, eric@anholt.net, rui.zhang@intel.com, bcm-kernel-feedback-list@broadcom.com, f.fainelli@gmail.com, edubezval@gmail.com Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Message-ID: <1667598657.325840.1498249545131@email.1und1.de> In-Reply-To: <20170623194435.8094-1-christophe.jaillet@wanadoo.fr> References: <20170623194435.8094-1-christophe.jaillet@wanadoo.fr> Subject: Re: [PATCH v2] thermal: bcm2835: Fix error code in 'bcm2835_thermal_probe' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.2-Rev34 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K0:+Nm7vbjpf9JsuARMzCWlehtR4CvV6OxGkKwGl2IngvN6xL5Lymx ztjE30KdNf7QFJR+gUjvqmwt2H/a7he4OXtgaeeezc/JxOOcTCpSMM7qdXN5xcJ83HMSqsi XsaavQyNTebrkZAkPdmPicvoeaERWwLBrj+lbCdt6rbIxIboPwy1lxKpy8E7LQa88QubMCb vymZGXMYQVzSQtB647pdQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:DwL+QjRUCWI=:mtxw2cPVJRAn7DXUFLmEjE G2FGcLysD+J5kE1xyGVdyHeAhzOszJgNzuvwsIjhdirgiN28jOQN5mXOag1dhg77dtD4BFNyF EjRQ1A3HLvVIzGCU0+pZZdRCz+T3RhBlY9npgTh0yuiBi3UtN/Uwg8RyMVCfSHCETZxa9VxoD gXV3+DeWmXLIyDfbogVsTluieXCkO0MOciTp+8dEqak27g3PHSIr/RzmVIt1ZneHzbsSmw6JH mtP9rsJlzOO6l/3Av/QYO4GU4dZLMNqKaGdne2UdR7zVA5reFRqyNIN0iom0IyhVSu/3qogU8 ldUAB4/UQktLS/fkBWr5G9vbMq2Mc21e0v5Ofnb5xwYlp7jrv+FKA1q7APfdMyUB3VnJ76/BB fkiDWousB08hDm6coF91Gtj1DTveB72sBYKEmvuCDGnAoCGpC/swvjSI8/AoAe91I/RzFJ++K tS2FC+95GFik8JqgO+ZYNMuQVW8Spbr5M1qgL+v5FRFq+YzSUgRgGmdNPTsJMDjFgjDC6G7Pr FsvEgH3NcIOpXdJnuEAvI+P+gYIZWwjweFFCJhIhvPkrYMh2bko5xdAGRRx1He5jmlyTWQmqG t46Dr3ih3umO39sBQ1RrygHSigNfdWLsm3bZk3EAxAe2JqV5krV/wceUNcLSLyAtUjkvlV+bn twZIVzJOrTH4dbmK6CDckVUsMmt9FSkCaSfQsOuscZKxLD6ysHeXJ8h5P5wb/hzQ9tckLnOr5 6BwRoocnKnIgnh8J Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 450 Lines: 12 > Christophe JAILLET hat am 23. Juni 2017 um 21:44 geschrieben: > > > 'tz' is a valid pointer at this point, so calling PTR_ERR on it is > pointless. > This 'err = PTR_ERR(tz)' looks like a cut'n'paste from a few lines above. > So remove it. 'err' is already the error we want to report. > > Signed-off-by: Christophe JAILLET Thanks, but Dan Carpenter already send a fix for this.