From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by dpdk.org (Postfix) with ESMTP id C97045A3E for ; Thu, 16 Jul 2015 23:06:41 +0200 (CEST) Received: by pdjr16 with SMTP id r16so50396792pdj.3 for ; Thu, 16 Jul 2015 14:06:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KpmSHbp9mpf2eHNpw0acge5uS3K01mR4Np0W0B1FSxc=; b=aBF7GE40gJ+MBRSAcvkdOnX+Ruwu6PvPzqUmYT8+R+txAGMYvyzDJFtyFnobGK2r/F gypvcWN1vi4ZzRrgbMpmiBQIEGrO+bwYACqvvhL3259SJrRcVfTF1wVRcbmY+fsO/3w0 tnEnW2q1ZsmVj+UORKb1oY7pEe9+tamaSrSCW8I4iwEwuGj+X0cD36p8dFMZxOlirBVu yYvHQlov6dzWCWgtJZFlZjUwKL+6XwWqtxCrMge1O+v8v74lEhTyvdRYs7an+GMdWHOq ZV4JAyU802WIH7TtnosONSpQJFHeXNHj14HddGledpfvWQ2eS3hD20ow361yEQ/IJQY5 vDwA== X-Gm-Message-State: ALoCoQnWPLvPNTjaOrvyuo/X5LkerWnkIfb2DUDOIoX+LT5SaliI5+jGfCDkOgxTXRyxq0IsNEdp X-Received: by 10.67.11.9 with SMTP id ee9mr22817382pad.83.1437080801213; Thu, 16 Jul 2015 14:06:41 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id s15sm8895798pdi.68.2015.07.16.14.06.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Jul 2015 14:06:40 -0700 (PDT) From: Stephen Hemminger To: Jing Chen Date: Thu, 16 Jul 2015 14:06:40 -0700 Message-Id: <1437080800-1549-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH v2] fm10k: add missing newline to debug log X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2015 21:06:42 -0000 If FM10K_DEBUG_DRIVER is enabled, then the log messages about function entry are missing newline causing extremely long lines. Signed-off-by: Stephen Hemminger --- drivers/net/fm10k/base/fm10k_osdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fm10k/base/fm10k_osdep.h b/drivers/net/fm10k/base/fm10k_osdep.h index 04f8fe9..53c433c 100644 --- a/drivers/net/fm10k/base/fm10k_osdep.h +++ b/drivers/net/fm10k/base/fm10k_osdep.h @@ -45,7 +45,7 @@ POSSIBILITY OF SUCH DAMAGE. #define ERROR_REPORT2(v1, v2, v3) do { } while (0) #define STATIC static -#define DEBUGFUNC(F) DEBUGOUT(F); +#define DEBUGFUNC(F) DEBUGOUT(F "\n"); #define DEBUGOUT(S, args...) PMD_DRV_LOG_RAW(DEBUG, S, ##args) #define DEBUGOUT1(S, args...) DEBUGOUT(S, ##args) #define DEBUGOUT2(S, args...) DEBUGOUT(S, ##args) -- 2.1.4