Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp279180pxj; Thu, 3 Jun 2021 06:33:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMqDRTX+4zxaY2vCW5orz6gBds+vNSrUEuyrCmzXVOtNsOPLe2FOLW6jvIO+GZUzvNGs1l X-Received: by 2002:a05:6402:693:: with SMTP id f19mr17148342edy.185.1622727207039; Thu, 03 Jun 2021 06:33:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622727207; cv=none; d=google.com; s=arc-20160816; b=smj89iTpkdWbF0LnOJRpd1/cpU3GOG8Yi9V2Rn0XLnhndji0hXb/qw+XckIrTfdhuS 7xYVrkSMqcxhDTogGPP7rbSuNSBhx8B4WpJYmAC0OuPWeq5+A2uJa2EX0KBzCUtx3WJd OtI2FLBfx5myJLZDN56xCPyif5bwDipxDFyrAeddHlbvWttcUZL/u2gueZCDJqG8Kg46 BsVHEv+vi1BCM4IHZ9AymFaVuJNYvbcBbufowZsiE3CxRvqFqMXSGUb5NUbWrsE8RWeE Wng5xJR7goAvdT/M2aSprepXy7iErnuYVGchZnbpteXbwCk4j6/+YY2nAJ1IkuheGwx1 X8YQ== 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=EvAaVAGl0y3frERkrC2xF1QPHHzd64BdyWGXs3vitYo=; b=L5/w2FcOBWqR9uGownXYfI2QjlZ5B4lywdY730TTdElFZOExVlifpqutMm4I8XJMMd 0aSowoqAVSXUD9+j68Va3IWjz+s+mq8+mLcnt86pJhWe0A3sLDfbUG2ZFkgNYPi1HzyO ugUw6NjM6MozMVLp4uy6imA6sgmq1Onec6VxiZDfHV7ZeqZJGhHhRFiLhxN8ovfZ7u7C ZZVeN3mUuim1JvtrEan0V5va703kL13JqAVMeWqEq7UFmtT4edcZSq5cAOje3wl4ub7J mONqV0F/I7V6wBj9uqwENH6hWT557V2TQoODGHHL+az4EHctw7KJ5LnqfsK07/cZGGDJ i3cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LFrA7ipP; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p26si2443511edx.56.2021.06.03.06.33.04; Thu, 03 Jun 2021 06:33:27 -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=@gmail.com header.s=20161025 header.b=LFrA7ipP; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230138AbhFCNcq (ORCPT + 99 others); Thu, 3 Jun 2021 09:32:46 -0400 Received: from mail-ua1-f48.google.com ([209.85.222.48]:33441 "EHLO mail-ua1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbhFCNcp (ORCPT ); Thu, 3 Jun 2021 09:32:45 -0400 Received: by mail-ua1-f48.google.com with SMTP id l12so3327429uai.0 for ; Thu, 03 Jun 2021 06:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EvAaVAGl0y3frERkrC2xF1QPHHzd64BdyWGXs3vitYo=; b=LFrA7ipPw8u7Gr5bv4drcTnYNuYyrk5BpPvj6XcXmRZhu7MABiO2ytikBdm2Okor2P EI6xz2NhrVmlNJoi0FyBR4bYpFSwV0rdGmRhMmaMEdsaC597ZfQTjQYg2MwTdzoNs9vG H+e0PzAmcDM0xYEj+P7Mr+kTW3X1Pkc9crm41jgEwxVqgbHrhg7Q/f+nz/w3M9QSl9KS hur0ZS3OObN9YONXH8+hUR2w3SyjbFH4K5BsOWJFpnco32pTEkASMWJiR2mtxVjPRov8 IO1LiAqBSNZ8xlIm9XZ/GvRm2gDhxY6Ouagv6IUFnxbXBke/K/YaG39jdIs/HWXX4yS5 /D/A== 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=EvAaVAGl0y3frERkrC2xF1QPHHzd64BdyWGXs3vitYo=; b=fnHkS3BiTjYnC9sVZjky5Iu4IXgtybmAYc+DK1a+OihAAXuFockWyTUb1wAx9JTqjh VjgiZhOniXgTEriOvQp6gKexP29ktsK0KmJV8Gu3cANF96RaVyDnuqmbiXs9UTE1Zwk8 IAvg2UD2Z8h0iQMiuzsd3bX1eVELLSvFT1bmuOCyJ8IoHvZcfL16UwvH+0Z3IRlXXHg2 jkaN4SOPO7r7PZcz3AQy5bWKQMT46apFr1KF73L6U2OD+i8c9PfLF2spWeSCZh17gdST EWbPKno8382MgCuxsT/rKfc7Q3NXn/RZwpIppxNRNINg0aXNdxNDLr32FI8+auGdVfTc 1rBQ== X-Gm-Message-State: AOAM5330enJ8PsmXOwQfY4pyRHdKW6Dd2aKqnaA2n4ywmP8yxguwtflz 4yxmVS0Rk8DZYG4yYz4jc3vjc1QWMRQZDdv9eYVy9CXZ65M= X-Received: by 2002:ab0:1464:: with SMTP id c33mr24110473uae.118.1622726985359; Thu, 03 Jun 2021 06:29:45 -0700 (PDT) MIME-Version: 1.0 References: <20210601141945.4131934-1-zhengyongjun3@huawei.com> In-Reply-To: <20210601141945.4131934-1-zhengyongjun3@huawei.com> From: Christian Gmeiner Date: Thu, 3 Jun 2021 15:29:35 +0200 Message-ID: Subject: Re: [PATCH -next] drm/etnaviv: Remove unneeded if-null-free check To: Zheng Yongjun Cc: Lucas Stach , David Airlie , Daniel Vetter , DRI mailing list , LKML , Russell King Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Di., 1. Juni 2021 um 16:06 Uhr schrieb Zheng Yongjun : > > Eliminate the following coccicheck warning: > > drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c:84:2-8: WARNING: > NULL check before some freeing functions is not needed. > > Signed-off-by: Zheng Yongjun Reviewed-by: Christian Gmeiner -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info/privacypolicy