Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3244960pxb; Mon, 16 Nov 2020 09:20:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJySQGCoZ0AEuHNQTLiEOTvoKrpq15F2jCsvLwpM7PiMpYpto/UXrycAXmI3a0cPsGhV6l1t X-Received: by 2002:a50:99c3:: with SMTP id n3mr17137763edb.213.1605547234498; Mon, 16 Nov 2020 09:20:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605547234; cv=none; d=google.com; s=arc-20160816; b=pzA17c38qJY/JsLgr7De0zf6bmiwM8SlRQSQd1u6ocguaVqJB6JaJsTuxtgohVWVLE yhnqIlf8gOUZj/SRTiIvgn6cdlAOEXidAZjL9QgWbxhuO20fSzz4lXEP+N+ME3I6yIVH dt9VwW8ruxHngwSACMx5M1D45+q616CW4Wjw2qv0cvDWrdUTlj0e/vRM78zfO/ztTCb9 OSoKhFLpSXEk+Q9HBvYsLM6g5mR0+9J/G0lh4MiGdK+xk2b11ytWvqW4UAhCP6U+1MVd CrkBxnLnp42af+/rM19AKwTmjXJ06acHCqFJpSHfuN2MZ3sNeiYhr3G1Q6Jn0AyiK3tk MLfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RY7dzZjNXgsnJCVVQm8TyT/jUzYsH7NzXH3Mac7B9Rw=; b=EwPemCBZLs28d+k/ezMbVlstBeOjGhILwnZC8eIPGmu7OyfxetPHYqmqmTdzgfxJNT PUvnnDfHrQJTEr5OgJOmdcUG6AoCQF3aAcDgNOahwzbH5mqXziqzzF7h3D+NmjimPkK0 ibMWPjE0xD67uJD1oQjRW9D2glX/AyUG0zm2GRMKk2EZ5OArsxw+pM6oE8P6NVRvD8wA UftgtMqkraQyB4T6CCVMM7SzO1JgfzUmBN6L3kxoMnWBoGW1GFunqTFYdg/GOh0rETCz 9DHtngtJYszr7W0SxBm9vsp9eBeqtkv6SsUILIZ+iovoC0EdlCTgbr6KmtQd+0Byp93m J77Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wf3kB4A1; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g7si11711836ejd.530.2020.11.16.09.20.11; Mon, 16 Nov 2020 09:20:34 -0800 (PST) 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=@linaro.org header.s=google header.b=Wf3kB4A1; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732220AbgKPRRu (ORCPT + 99 others); Mon, 16 Nov 2020 12:17:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731072AbgKPRRu (ORCPT ); Mon, 16 Nov 2020 12:17:50 -0500 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABD26C0613CF for ; Mon, 16 Nov 2020 09:17:49 -0800 (PST) Received: by mail-qt1-x82d.google.com with SMTP id p12so13409944qtp.7 for ; Mon, 16 Nov 2020 09:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RY7dzZjNXgsnJCVVQm8TyT/jUzYsH7NzXH3Mac7B9Rw=; b=Wf3kB4A140V5E08ma2vQlRfFr7iwHao00b8EDxrwHAUlbrApv9/MDn9ZD/TXcGlNj+ rRfETVYLjXsvAsVTe1GfWzN1dC8IPcJbeLuscQx38hNfq+/vfXpQ9iTB6bhtkOEIbn3s gOs8ztPYmRMRtsLn0Icorskz/foCpzs1RS5K3e5F6svPBHTtXmOFB1nVnjOubd4Vrb9O IYlOuEfsNgWsXVO47Irs1t48pObB+PKbjCRO1/40tkKh0DEF/hSo573z6dmQQzRQ9A/K DMujZU+uI8hdyIwAFsJzjXvPPrjVjcg9DwaEujb6eZi6XW2FqjIWTQQyxnB0+4JaN1GN CMbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RY7dzZjNXgsnJCVVQm8TyT/jUzYsH7NzXH3Mac7B9Rw=; b=rOiJqhakacwbxlr4N6NK83MN3pNGjQVrvF2xEOJ54gOV9yuPUKqEe1Cu59yOqEjzew NocAimhl7RERaknrn9M4SBFDzV1kghHGa1WPWiD70KmbTnXyeaqf2RVTiTmIJfTB0cWm qxkRVz0DaYI+CKRfzGB0u6ZMOdUR/1XYP6cSHCRcLOClrJa2ebnQoI6nhFOZ96bio+MC inZIcLc7JkybByxGHS/HIeNER/GIFyO+PsXhWi55cqmDPb88rNAzkgSZlVxrGJ+FqCso vhvo0qBCVmFKtgYxK8YXjX8rpnEx1axWmznDeyukYUjSNbAnXJI51NmxTGzHObyNcC7+ L+yg== X-Gm-Message-State: AOAM530sGwDQRwsXjeV3a3jK6VkjIxiRCVzI+idYZyVVt0EfUD+CXw/C 1pgcrkj7qw3hrR8EKej8vo5M7cefTgADjdwh4Ci+SQ== X-Received: by 2002:aed:22ab:: with SMTP id p40mr14640722qtc.200.1605547068880; Mon, 16 Nov 2020 09:17:48 -0800 (PST) MIME-Version: 1.0 References: <20201026144943.30821-1-grzegorz.jaszczyk@linaro.org> In-Reply-To: From: Grzegorz Jaszczyk Date: Mon, 16 Nov 2020 18:17:37 +0100 Message-ID: Subject: Re: [PATCH] soc: ti: pruss: Remove wrong check against *get_match_data return value To: Suman Anna Cc: Santosh Shilimkar , Santosh Shilimkar , Lee Jones , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Bajjuri, Praneeth" , tony@atomide.com, Wei Yongjun Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Suman, On Tue, 10 Nov 2020 at 21:43, Suman Anna wrote: > > Hi Greg, > > On 10/26/20 9:49 AM, Grzegorz Jaszczyk wrote: > > Since the of_device_get_match_data() doesn't return error code, remove > > wrong IS_ERR test. Proper check against NULL pointer is already done > > later before usage: if (data && data->...). > > > > Additionally, proceeding with empty device data is valid (e.g. in case > > of "ti,am3356-pruss"). > > > > Reported-by: Wei Yongjun > > Please add the appropriate Fixes: tag. > > And prefer %s/Remove/Fix/ in patch title. Sure. > > With that, > Acked-by: Suman Anna Thank you, I will post v2 with all improvements soon. Best regards, Grzegorz