Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933492Ab1ETASF (ORCPT ); Thu, 19 May 2011 20:18:05 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:58358 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932470Ab1ETARr (ORCPT ); Thu, 19 May 2011 20:17:47 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tHrF+vsJDlNcZ5i7cghT4oEkzVBmdGljSRypNZ0etmdyavOt1yh0V20UMT7Evczm+i C7xOPD0ulpXBJgtBwSCSmkAsKNW/6e273fN15TeOCmMBO+a25YeUCfjP62FJZp0r7ZUg rBJfDHzZYsF4LxI0MYfrhz2mCaMGHnoiCQR3Q= MIME-Version: 1.0 In-Reply-To: <20110520000013.GA8908@kroah.com> References: <2db81796703063c0816d0d99040c6fbd6da50007.1305847719.git.mfm@muteddisk.com> <20110520000013.GA8908@kroah.com> Date: Thu, 19 May 2011 17:17:45 -0700 Message-ID: Subject: Re: [PATCH] staging: usbip: replace usbip_u{dbg,err,info} and printk with dev_ and pr_ From: matt mooney To: Greg KH Cc: matt mooney , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2125 Lines: 54 On Thu, May 19, 2011 at 5:00 PM, Greg KH wrote: > On Thu, May 19, 2011 at 04:47:32PM -0700, matt mooney wrote: >> This switches all of the usbip_u{dbg,err,info} and printk statements to >> dev_, if possible, or pr_ macros. And removes a few >> unnecessary debug statements. >> >> Signed-off-by: matt mooney >> --- >> Hi Greg, >> >> Not as many of these could be changed to dev_* as I had initially >> thought. A few were not changed to dev_* that could have possibly been >> due to the struct device being deeply embedded within another >> structure. I did not want to introduce any null pointer deferences, so >> I played it safe for the time being. But as development continues I >> will modify these. > > Ok, that's fine. > >> I also wonder if anybody is currently using usbip because I get a kernel >> crash on the remote side everytime I try to attach an exported device. >> Of course, I am running the remote and host machines through kvm, but I >> don't think that should make a difference. Anyway, I thought you should >> know so that if this comes up, you know that it was in this state before >> any of my changes ;) > > I have gotten a few reports of it not working right now, but no one > stepped up and debugged it. > > If you could do that now, that would be great, as it would be nice to > have a working base to go off of :) Okay, I will do that first. > Also, the merge window for the .40 tree for the staging tree is now > closed, so I'll only take bugfixes for the usbip code for now. The userspace code isn't getting merged in .40, is it? Because my patch "staging: usbip: userspace: stub_driver.c: update kernel module name" actually relies on a change in my own tree, so I made a mistake by thinking that it was needed right away to get the userspace tools working. Thanks, matt -- GPG-Key: 9AFE00EA -- 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/