From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762798AbXGYTNN (ORCPT ); Wed, 25 Jul 2007 15:13:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758879AbXGYTM4 (ORCPT ); Wed, 25 Jul 2007 15:12:56 -0400 Received: from ug-out-1314.google.com ([66.249.92.173]:11204 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755453AbXGYTMy (ORCPT ); Wed, 25 Jul 2007 15:12:54 -0400 Date: Wed, 25 Jul 2007 22:12:57 +0300 From: "Michael S. Tsirkin" To: Mike Christie Cc: "Michael S. Tsirkin" , James Bottomley , Andrew Morton , linux-scsi@vger.kernel.org, Roland Dreier , Linux Kernel Mailing List , general@lists.openfabrics.org Subject: Re: [PATCH trivial] include linux/mutex.h from scsi_transport_iscsi.h Message-ID: <20070725191257.GA2311@mellanox.co.il> Reply-To: "Michael S. Tsirkin" References: <20070725110907.GF3826@mellanox.co.il> <46A79C00.200@cs.wisc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46A79C00.200@cs.wisc.edu> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Quoting Mike Christie : > Subject: Re: [PATCH trivial] include linux/mutex.h from scsi_transport_iscsi.h > > Michael S. Tsirkin wrote: > >scsi/scsi_transport_iscsi.h uses struct 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. > > > > Is that part about always including the header directly right? Think so. Analogous patches by me has been accepted in various subsystems. See e.g. f8916c11a4dc4cb2367e9bee1788f4e0f1b4eabc. > If so > then were you going to include list.h too, Makes sense. I'll repost. > and were you going to fix up > some of the other iscsi code? Not at the moment. The reason I noticed this is because I'm doing some other project. I'll post patches for other files if/when I notice any issues. -- MST