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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F8CDC43603 for ; Sun, 8 Dec 2019 21:18:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6D40320637 for ; Sun, 8 Dec 2019 21:18:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726808AbfLHVSH (ORCPT ); Sun, 8 Dec 2019 16:18:07 -0500 Received: from isilmar-4.linta.de ([136.243.71.142]:41460 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbfLHVSA (ORCPT ); Sun, 8 Dec 2019 16:18:00 -0500 X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from light.dominikbrodowski.net (brodo.linta [10.1.0.102]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 1AD78200AC4; Sun, 8 Dec 2019 21:09:39 +0000 (UTC) Received: by light.dominikbrodowski.net (Postfix, from userid 1000) id E2E8620AD1; Sun, 8 Dec 2019 21:57:13 +0100 (CET) Date: Sun, 8 Dec 2019 21:57:13 +0100 From: Dominik Brodowski To: Simon Geis Cc: Greg Kroah-Hartman , Thomas Gleixner , Colin Ian King , Adam Zerella , linux-kernel@vger.kernel.org, linux-kernel@i4.cs.fau.de, Lukas Panzer Subject: Re: [PATCH 11/12] PCMCIA: use dev_dbg instead of enter/leave Message-ID: <20191208205713.GG240074@light.dominikbrodowski.net> References: <20191208160947.20694-2-simon.geis@fau.de> <20191208160947.20694-12-simon.geis@fau.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191208160947.20694-12-simon.geis@fau.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 08, 2019 at 05:09:46PM +0100, Simon Geis wrote: > Using dev_dbg() instead of the enter()/leave() > macro. This allows the usage of format strings. > Remove the now unused macro definition in i82092aa.h. Could you re-use enter()/leave() (maybe with a new parameter to pass the struct pci_dev) here instead? That may save a few lines, instead of prolonging the file? Thanks, Dominik