Received: by 10.192.165.148 with SMTP id m20csp3275903imm; Mon, 23 Apr 2018 03:54:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx49MHVG6sC42/61B5HBIWe3GZ1RUYUe48d8DTBjgpigiNIeVclrli2g4v4fzJT5kbpCTrkrT X-Received: by 10.101.102.198 with SMTP id c6mr15388789pgw.127.1524480880561; Mon, 23 Apr 2018 03:54:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524480880; cv=none; d=google.com; s=arc-20160816; b=ZkWDXjG59Zz2gNW/TAE9He3ZBCt/Tb3l0Q+pkGW9a1hjym7rADa1tQtjZ5qrpKVTx+ r3+3VH/AiyJaKYdtJct6Cu87k06rQ34QD/Wa/OgNJyGnGYgdpCrTNxmQzXP0JJkAsXzt ifqkQ5fNQcPSpjxZaDiBUC7tdG9vCSZHeliCx2SM3QU8J1XZwAgfpaSTPS4ycyLEEJrT XaUJGtHVMJI2pvl9xorYABrjjIEXASjW+0SnxzOrQ0WJZ0cAdz/a1/yPYDeMIgs1yYfo ZgDVGOadjIK72d7FDVTWiZqS/dpBZsb0WMC6joo/YhAFlGTFAiPalRPa8+NsPPxrhFTI qxqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=UeR2zOwYsxevb2aLU0DPya7ksclq6KZt1yF4ED+Yir0=; b=bO1KLv9R56/DJttTbcoWzXVllD1egZuHx0sc9OEyLiQZXT9BKQvDqKJMUqK+j1+AMC zEoqLECgI6ULnRfirk6qesmRuG6iB794yftNWin7jQz/cjVNQHS0NqrfqEF5o8u8QhhD 1Ozelf/p1guKA4jmXJfhhE+eeffLIx9tTT0dzGhQAnhxmXXGka4pK1vLRlnY/PdHauxs dvDlHd5r8F9I4DGvOlzWVCKm4ww9r69ozLPBAlyMPm+E6/7eK96FsLiwaJSa2ViuZxXI uwR9K7kl+QcyvdfRuNyyFdJCm+X+eHXCExnJ2sAqpHaFk7Xj8YHRA1Vm3XtgqZxxzeDD UOig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k189si9783102pgc.388.2018.04.23.03.54.26; Mon, 23 Apr 2018 03:54:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755281AbeDWKwf (ORCPT + 99 others); Mon, 23 Apr 2018 06:52:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50308 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754861AbeDWKwb (ORCPT ); Mon, 23 Apr 2018 06:52:31 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 51072C7D; Mon, 23 Apr 2018 10:52:30 +0000 (UTC) Date: Mon, 23 Apr 2018 12:52:24 +0200 From: Greg KH To: Jae Hyun Yoo Cc: Alan Cox , Andrew Jeffery , Andrew Lunn , Andy Shevchenko , Arnd Bergmann , Benjamin Herrenschmidt , Fengguang Wu , Guenter Roeck , Haiyue Wang , James Feist , Jason M Biils , Jean Delvare , Joel Stanley , Julia Cartwright , Miguel Ojeda , Milton Miller II , Pavel Machek , Randy Dunlap , Stef van Os , Sumeet R Pawnikar , Vernon Mauery , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH v3 03/10] drivers/peci: Add support for PECI bus driver core Message-ID: <20180423105224.GA1444@kroah.com> References: <20180410183212.16787-1-jae.hyun.yoo@linux.intel.com> <20180410183212.16787-4-jae.hyun.yoo@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180410183212.16787-4-jae.hyun.yoo@linux.intel.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 10, 2018 at 11:32:05AM -0700, Jae Hyun Yoo wrote: > +static void peci_adapter_dev_release(struct device *dev) > +{ > + /* do nothing */ > +} As per the in-kernel documentation, I am now allowed to make fun of you. You are trying to "out smart" the kernel by getting rid of a warning message that was explicitly put there for you to do something. To think that by just providing an "empty" function you are somehow fulfilling the API requirement is quite bold, don't you think? This has to be fixed. I didn't put that warning in there for no good reason. Please go read the documentation again... greg k-h