From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753542Ab0IGDBS (ORCPT ); Mon, 6 Sep 2010 23:01:18 -0400 Received: from cantor2.suse.de ([195.135.220.15]:43399 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751584Ab0IGDBL (ORCPT ); Mon, 6 Sep 2010 23:01:11 -0400 Subject: Re: [PATCH v3] scsi_debug: Convert to use root_device_register() and root_device_unregister() From: James Bottomley To: Dmitry Torokhov Cc: "Nicholas A. Bellinger" , linux-scsi , linux-kernel , Douglas Gilbert , Richard Sharpe , Christoph Hellwig , FUJITA Tomonori , Mike Christie , Hannes Reinecke , Greg KH In-Reply-To: <20100907003251.GA21430@core.coreip.homeip.net> References: <1283819068-24587-1-git-send-email-nab@linux-iscsi.org> <20100907003251.GA21430@core.coreip.homeip.net> Content-Type: text/plain; charset="UTF-8" Date: Mon, 06 Sep 2010 23:00:56 -0400 Message-ID: <1283828456.15944.1323.camel@mulgrave.site> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2010-09-06 at 17:32 -0700, Dmitry Torokhov wrote: > On Mon, Sep 06, 2010 at 05:24:28PM -0700, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > Hi Doug and Co, > > > > This patch updates the scsi_debug virtual LLD to use root_device_register() > > and root_device_unregister() from include/linux/device.h instead of device_register() > > and device_unregister() respectively within scsi_debug_init() and scsi_debug_exit() > > This simply involved converting the static struct device pseudo_primary into a > > pointer that is setup by the call to root_device_register(). > > > > This patch also contains the correct IS_ERR() conditional check of > > root_device_register() from within scsi_debug_init(). > > > > Thanks to Richard Sharpe and Dmitry Torokhov for their help with this item. > > > > Signed-off-by: Nicholas A. Bellinger > > Thanks for making the changes. > > Acked-by: Dmitry Torokhov Can I make that Reviewed-by:? Acked-by is really just for maintainer patches which don't warrant a signoff. James