From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE083C001DE for ; Sun, 23 Jul 2023 20:30:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229696AbjGWUam (ORCPT ); Sun, 23 Jul 2023 16:30:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjGWUaj (ORCPT ); Sun, 23 Jul 2023 16:30:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24A811B8 for ; Sun, 23 Jul 2023 13:30:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B763760E88 for ; Sun, 23 Jul 2023 20:30:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE38CC433C7; Sun, 23 Jul 2023 20:30:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690144238; bh=7+A6c39gdcE1g7Jj1te99cUCcE8RirIo32OTAJBLi8M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SJrIGJv1CAoSzbTHPOQKckC86Lk6uMepycf5I6FF58MiBTFTAIDi+U0i0orJpmC58 U5F4q5Buf8WybYBJbVN5jHYO6Sk9+bniYfmzohIn53Iv/zHNmpbgIoOJAjFf+as3Ih R8TCpa6BkfAEADQmNDf6enNim1lZQs9SiVmmYqIVig3FSsroQ+o5SGlVZPghtaSC2j bu9UiO2pBU+MfQQiNnzYrpIc3oh+zxGtfZOOcQr2341xgBglqZIsWDuD1UiNSr4Fb6 VnH2XvL8FG1TCpvtyzqUj8bDuZCgbAsvK9P4eyitLiW5SpCL0JkIILrQpbB8JuUL3n 7d6I/sjgz8ZZA== Date: Sun, 23 Jul 2023 22:30:35 +0200 From: Andi Shyti To: Andy Shevchenko Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/1] driver core: Move dev_err_probe() to where it belogs Message-ID: <20230723203035.wmdskibs2lvofnju@intel.intel> References: <20230721131309.16821-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230721131309.16821-1-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andi, On Fri, Jul 21, 2023 at 04:13:09PM +0300, Andy Shevchenko wrote: > dev_err_probe() belongs to the printing API, hence > move the definition from device.h to dev_printk.h. > > There is no change to the callers at all, since: > 1) implementation is located in the same core.c; > 2) dev_printk.h is guaranteed to be included by device.h. > > Signed-off-by: Andy Shevchenko yes! I think that's right! Reviewed-by: Andi Shyti Andi