Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 29 Aug 2002 16:55:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 29 Aug 2002 16:55:08 -0400 Received: from e2.ny.us.ibm.com ([32.97.182.102]:17323 "EHLO e2.ny.us.ibm.com") by vger.kernel.org with ESMTP id ; Thu, 29 Aug 2002 16:55:07 -0400 Subject: [TRIVIAL][PATCH] fix __FUNCTION__ pasting in sx.c From: Paul Larson To: Trivial Patch Monkey , lkml Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 29 Aug 2002 15:49:14 -0500 Message-Id: <1030654155.7151.1.camel@plars.austin.ibm.com> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1608 Lines: 42 Trivial fix for __FUNCTION__ pasting in sx.c against current bk tree. -Paul Larson # This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.557 -> 1.558 # drivers/char/sx.c 1.10 -> 1.11 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/08/29 plars@austin.ibm.com 1.558 # fix __FUNCTION__ pasting in sx.c # -------------------------------------------- # diff -Nru a/drivers/char/sx.c b/drivers/char/sx.c --- a/drivers/char/sx.c Thu Aug 29 15:43:20 2002 +++ b/drivers/char/sx.c Thu Aug 29 15:43:20 2002 @@ -405,11 +405,11 @@ -#define func_enter() sx_dprintk (SX_DEBUG_FLOW, "sx: enter " __FUNCTION__ "\n") -#define func_exit() sx_dprintk (SX_DEBUG_FLOW, "sx: exit " __FUNCTION__ "\n") +#define func_enter() sx_dprintk (SX_DEBUG_FLOW, "sx: enter %s\n", __FUNCTION__) +#define func_exit() sx_dprintk (SX_DEBUG_FLOW, "sx: exit %s\n", __FUNCTION__) -#define func_enter2() sx_dprintk (SX_DEBUG_FLOW, "sx: enter " __FUNCTION__ \ - "(port %d)\n", port->line) +#define func_enter2() sx_dprintk (SX_DEBUG_FLOW, "sx: enter %s (port %d)\n", \ + __FUNCTION__, port->line) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/