Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1193788pxb; Fri, 21 Jan 2022 11:58:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyf8Hy+uu8vygkVidnHqBPZHITrjwuXSEkW8wBK2CAeavnWv3DNsKDSXM3r2+UFNc03qcDI X-Received: by 2002:a63:b00a:: with SMTP id h10mr4017037pgf.400.1642795104469; Fri, 21 Jan 2022 11:58:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642795104; cv=none; d=google.com; s=arc-20160816; b=PaPPP2J854dMapTyoRvaK2lBI6y28kiO9HT/MrpwD5GhRBT9tLGpF8i+CcIk3PHt4I jcuOOaQSIB7CE0DXEYAN5xCnNqAJXP/usbjUWQWLIEHuJb5SgpfD4Fg3OF2r5nfYGrQQ TgFbh1QnDGdvTzeDB6i8jehvYRag82rGD88bB3Hgatu3udcWOuYDaj8YxpNy8sWUl/RF ArTnM9wI8TAbxBjXElKLdv8bxMUxDm8GoRBGnD/kCpfhKZ73Tq26i2hNJNj501SRujKD zGnYkTm38vk2InH5L0iZ+r9p1aEUrIPRe41Icp1QLpbyXJTmS28145nOOGxGTFyjmm+p eEFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aguG1J9pq9K9sRLjW6xTjgJuCL0CzXhpY81Gbri1aSE=; b=tbT+zfYm9/gvPhT4u8ZsNXpL9WOcsiFRb05pzdScff0fEcAwljYPRgPz3PncQmki+6 RCfE4qWiTQ8MMNGfmDHHJGluqNSeYwMJM55mOqh0Z11kNbBaIkmYVn3Vt8M68Q0ml092 gqpo8Ys9iYEn7gv450GqecVKdI+NGy9ezqLApo377wGhfKlrra7DINhRZlCcheOYcOlt e8h37sRVw0NhQfEgQPuJWTDg88/7FfzlE11U9kWG/b/P9/bet7mj7ErfIMQQBXuNioBH 2HS3mJOFLnDqGLqQ8iyhv70MEIpbZnW31RhVx55PBjGu2GD1fFRiPMZQSN1AFgQ8CLbL xbMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UXLVajox; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u186si4160814pgd.690.2022.01.21.11.58.12; Fri, 21 Jan 2022 11:58:24 -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=@intel.com header.s=Intel header.b=UXLVajox; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234180AbiASTL7 (ORCPT + 99 others); Wed, 19 Jan 2022 14:11:59 -0500 Received: from mga09.intel.com ([134.134.136.24]:45846 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbiASTL5 (ORCPT ); Wed, 19 Jan 2022 14:11:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642619517; x=1674155517; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=pJ3GNueq7O6gH3lUcp2UWza1P3qxEpzR0oarM5vPP+c=; b=UXLVajox5ZHllPCnKrC7EgcEY0WkG3m6cX5BGDcH3ZrXHJw+cD0doCzv NcjaECXIeShaiMRsbLcZVcmNxKJRF36dpsiuorVfGGIGIUuBz8L8h7y6J yq8vDhHqx15GUjymrF+eMLgmL4EF+kKerYykLDuLkdOPlLfwJ5ao9TBu3 /AFDXsjMJnw208Ua3r30h3ufnOYEAM3PxG1EuoNaAH9ckjycgCeQJRMAy KoYSfIB/kqrI0neAGHwjB2R4DHGMNxevZv8xRU06XWDLxa/iijAYSe78q k/9si/iJ0npCpGhv2oUNa725UWhV7x/9Xt5OjiesgCJf44N8M03cl2yRX Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10231"; a="244957549" X-IronPort-AV: E=Sophos;i="5.88,300,1635231600"; d="scan'208";a="244957549" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 10:41:48 -0800 X-IronPort-AV: E=Sophos;i="5.88,300,1635231600"; d="scan'208";a="765040746" Received: from smile.fi.intel.com ([10.237.72.61]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 10:41:32 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nAFsa-00CDtL-3g; Wed, 19 Jan 2022 20:40:20 +0200 Date: Wed, 19 Jan 2022 20:40:19 +0200 From: Andy Shevchenko To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Sergey Shtylyov , Florian Fainelli , Mark Brown , Andrew Lunn , Ulf Hansson , Vignesh Raghavendra , KVM list , "Rafael J. Wysocki" , linux-iio@vger.kernel.org, Linus Walleij , Amit Kucheria , ALSA Development Mailing List , Jaroslav Kysela , Guenter Roeck , Thierry Reding , MTD Maling List , Linux I2C , "open list:GPIO SUBSYSTEM" , Miquel Raynal , linux-phy@lists.infradead.org, netdev@vger.kernel.org, linux-spi , Jiri Slaby , Khuong Dinh , Mauro Carvalho Chehab , Matthias Schiffer , Kamal Dasu , Lee Jones , Bartosz Golaszewski , Daniel Lezcano , Kishon Vijay Abraham I , Geert Uytterhoeven , "open list:SERIAL DRIVERS" , bcm-kernel-feedback-list , Zhang Rui , platform-driver-x86@vger.kernel.org, Linux PWM List , Robert Richter , Saravanan Sekar , Corey Minyard , Linux PM list , Liam Girdwood , John Garry , Takashi Iwai , Peter Korsgaard , William Breathitt Gray , Mark Gross , Hans de Goede , Alex Williamson , Borislav Petkov , Jakub Kicinski , Matthias Brugger , openipmi-developer@lists.sourceforge.net, Benson Leung , Pengutronix Kernel Team , Linux ARM , linux-edac@vger.kernel.org, Tony Luck , Richard Weinberger , Mun Yew Tham , Eric Auger , Greg Kroah-Hartman , Yoshihiro Shimoda , Cornelia Huck , Linux MMC List , Joakim Zhang , Linux Kernel Mailing List , Linux-Renesas , Vinod Koul , James Morse , Zha Qipeng , Sebastian Reichel , Niklas =?iso-8859-1?Q?S=F6derlund?= , linux-mediatek@lists.infradead.org, Brian Norris , "David S. Miller" Subject: Re: [PATCH] driver core: platform: Rename platform_get_irq_optional() to platform_get_irq_silent() Message-ID: References: <20220112085009.dbasceh3obfok5dc@pengutronix.de> <20220112213121.5ruae5mxwj6t3qiy@pengutronix.de> <20220113110831.wvwbm75hbfysbn2d@pengutronix.de> <20220113194358.xnnbhsoyetihterb@pengutronix.de> <745c601f-c782-0904-f786-c9bfced8f11c@gmail.com> <20220115135550.dr4ngiz2c6rfs2rl@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220115135550.dr4ngiz2c6rfs2rl@pengutronix.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 15, 2022 at 02:55:50PM +0100, Uwe Kleine-K?nig wrote: > On Fri, Jan 14, 2022 at 08:55:07PM +0300, Sergey Shtylyov wrote: > Or do you think kmalloc should better be called > kmalloc_optional because it returns NULL if there is no more memory > available? Oh, do you know that kmalloc() may return NULL and small cookie value and actually one has to check for that (yes, either before or after against different variables)? kmalloc() is exactly an example that justifies the Sergey's patch. -- With Best Regards, Andy Shevchenko