Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752815Ab2HZLZi (ORCPT ); Sun, 26 Aug 2012 07:25:38 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:44928 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750734Ab2HZLZg (ORCPT ); Sun, 26 Aug 2012 07:25:36 -0400 From: Joe Perches To: Andrew Morton , netdev@vger.kernel.org Cc: Greg Kroah-Hartman , "David S. Miller" , Jason Baron , Jim Cromie , Kay Sievers , linux-kernel@vger.kernel.org Subject: [PATCH 0/5] dev_ and dynamic_debug cleanups Date: Sun, 26 Aug 2012 04:25:25 -0700 Message-Id: X-Mailer: git-send-email 1.7.8.111.gad25c.dirty Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1159 Lines: 27 The recent commit to fix dynamic_debug was a bit unclean. Neaten the style for dynamic_debug. Reduce the stack use of message logging that uses netdev_printk Add utility functions dev_printk_emit and dev_vprintk_emit for /dev/kmsg. Joe Perches (5): dev_dbg/dynamic_debug: Update to use printk_emit, optimize stack netdev_printk/dynamic_netdev_dbg: Directly call printk_emit netdev_printk/netif_printk: Remove a superfluous logging colon dev: Add dev_vprintk_emit and dev_printk_emit device and dynamic_debug: Use dev_vprintk_emit and dev_printk_emit drivers/base/core.c | 87 +++++++++++++++++++++++++++++--------------- include/linux/device.h | 17 +++++++-- include/linux/netdevice.h | 3 -- lib/dynamic_debug.c | 56 ++++++++++++++++++++++------- net/core/dev.c | 20 +++++++---- 5 files changed, 126 insertions(+), 57 deletions(-) -- 1.7.8.111.gad25c.dirty -- 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/