Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp272288pxb; Thu, 25 Feb 2021 02:00:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaEnGBiOCAhZ8hMqhK5qShrQcW1eYJjIW6MN6AKB5DFaMMdhNY5Lpuje3xBdiXm/qYaD5L X-Received: by 2002:aa7:c80e:: with SMTP id a14mr2069714edt.295.1614247231431; Thu, 25 Feb 2021 02:00:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614247231; cv=none; d=google.com; s=arc-20160816; b=fBCpNcvSxugY9BBRYAInoeFUt6b0jjN3V/ETMjpFvpSPmg5ToniL1D8OrmVwYlGZQk XeKhw8tlG1wyiJwrcxKPt9QrDx6t0Q+GXi64D/9k3ZLTdWUBh8UpCtD23ISuGruIXInc 5eMMRqhL6CAMT3fbLhVTWzF8/nAh6RjMJ9ZxtP7towV5L51F9tKlNXvVr+keh39mclFF 7hVAVrdBz10wn0d7QW7oNyKqfnmbQP1HfTwta0jfbAxRHCCMWfGRFGlGHZYuZf20pHrm /cNQyReUUfCUktP5/Soijqcf5HvKQ2RSkD53lNGGfQqUHdsZA3yYVXo9LQC5zw1Sz9hC geMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=FB+FU6LfUsRSpo+6PFLqAWsKfRBeZIdypItk9CukeOA=; b=VIgGWUsYijp7tiN2EoMB0qrCl9SyfaJcZRN9kH0pREGSPLaURdkeEKr4CkpoFge4q1 lU4U7wOGKE1vAjtMgzIGo0EVf/AOAOjnzM4NwvkSIr+FZC6yTY9Z0lAQRnHSQAPFXheq 7CsiBeLA4h35VrPgzCKrH0J7wSxRaRm3pivJpAFXAESvkxU6DUjeLVw05pdkQxoXhPKa 6qEtKeyg5oyU2WRkjWRs0QfPOAKf3qyTiR3SU2H9T51EujlIb1DV725LfIxOeMInTWXY 5SaV6vuofCBVvuVXEsVPARGtZjuZUOtufmdZBLArx1j465+XIOeVrIyRJGYJEPgvOs2a UTnw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si3207614ejs.437.2021.02.25.02.00.08; Thu, 25 Feb 2021 02:00:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233269AbhBYJaO (ORCPT + 99 others); Thu, 25 Feb 2021 04:30:14 -0500 Received: from mx2.suse.de ([195.135.220.15]:43918 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233777AbhBYJaN (ORCPT ); Thu, 25 Feb 2021 04:30:13 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6AD19ACCF; Thu, 25 Feb 2021 09:29:31 +0000 (UTC) Date: Thu, 25 Feb 2021 10:29:31 +0100 Message-ID: From: Takashi Iwai To: Wei Yongjun Cc: Hulk Robot , Jaroslav Kysela , "Takashi Iwai" , Lauri Kasanen , Thomas Bogendoerfer , , Subject: Re: [PATCH -next] sound: n64: Fix return value check in n64audio_probe() In-Reply-To: <20210224013803.2146953-1-weiyongjun1@huawei.com> References: <20210224013803.2146953-1-weiyongjun1@huawei.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Feb 2021 02:38:03 +0100, Wei Yongjun wrote: > > In case of error, the function devm_platform_ioremap_resource() > returns ERR_PTR() and never returns NULL. The NULL test in the > return value check should be replaced with IS_ERR(). > > Fixes: 1448f8acf4cc ("sound: Add n64 driver") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun Applied now. Thanks. Takashi