Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762568AbXFJTjS (ORCPT ); Sun, 10 Jun 2007 15:39:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754983AbXFJTjD (ORCPT ); Sun, 10 Jun 2007 15:39:03 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:3939 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754785AbXFJTjB (ORCPT ); Sun, 10 Jun 2007 15:39:01 -0400 Date: Sun, 10 Jun 2007 22:39:12 +0300 From: "Michael S. Tsirkin" To: Linux Kernel Mailing List Cc: James Bottomley , Andrew Morton , gregkh@suse.de Subject: [PATCH trivial] include linux/mutex.h from attribute_container.c Message-ID: <20070610193912.GA2252@mellanox.co.il> Reply-To: "Michael S. Tsirkin" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 973 Lines: 31 attribute_container.c uses DEFINE_MUTEX, so while linux/mutex.h seems to be pulled in indirectly by one of the headers it includes, the right thing is to include linux/mutex.h directly. Signed-off-by: Michael S. Tsirkin --- Does this make sense? Index: ofed_kernel/drivers/base/attribute_container.c =================================================================== --- ofed_kernel.orig/drivers/base/attribute_container.c 2007-05-29 14:49:57.000000000 +0300 +++ ofed_kernel/drivers/base/attribute_container.c 2007-06-10 21:29:36.000000000 +0300 @@ -18,6 +18,7 @@ #include #include #include +#include #include "base.h" -- MST - 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/