From patchwork Fri Feb 27 20:01:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Leech X-Patchwork-Id: 23822 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id BCD9BDDDA0 for ; Sat, 28 Feb 2009 07:01:43 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755822AbZB0UBk (ORCPT ); Fri, 27 Feb 2009 15:01:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753582AbZB0UBj (ORCPT ); Fri, 27 Feb 2009 15:01:39 -0500 Received: from mga03.intel.com ([143.182.124.21]:17896 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751343AbZB0UBi (ORCPT ); Fri, 27 Feb 2009 15:01:38 -0500 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 27 Feb 2009 12:01:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.38,278,1233561600"; d="scan'208";a="115181760" Received: from cleech-lnx.jf.intel.com (HELO localhost.localdomain) ([134.134.3.55]) by azsmga001.ch.intel.com with ESMTP; 27 Feb 2009 12:01:36 -0800 From: Chris Leech Subject: [PATCH 1/2] net headers: cleanup dcbnl.h To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Date: Fri, 27 Feb 2009 12:01:36 -0800 Message-ID: <20090227200136.31557.53143.stgit@localhost.localdomain> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 1) add an include for 2) change dcbmsg.dcb_family from unsigned char to __u8 to be more consistent with use of kernel types Signed-off-by: Chris Leech Acked-by: Sam Ravnborg --- include/linux/dcbnl.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux/dcbnl.h b/include/linux/dcbnl.h index b0ef274..7d2e100 100644 --- a/include/linux/dcbnl.h +++ b/include/linux/dcbnl.h @@ -20,10 +20,12 @@ #ifndef __LINUX_DCBNL_H__ #define __LINUX_DCBNL_H__ +#include + #define DCB_PROTO_VERSION 1 struct dcbmsg { - unsigned char dcb_family; + __u8 dcb_family; __u8 cmd; __u16 dcb_pad; };