From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757911AbZEVTC7 (ORCPT ); Fri, 22 May 2009 15:02:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756939AbZEVTCv (ORCPT ); Fri, 22 May 2009 15:02:51 -0400 Received: from mail-bw0-f174.google.com ([209.85.218.174]:46685 "EHLO mail-bw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756326AbZEVTCu (ORCPT ); Fri, 22 May 2009 15:02:50 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-disposition:message-id:content-type :content-transfer-encoding; b=eOUhNgwLDDGt6hao0sJOA6YuBWYCQ1YKXnGDlUn5xE2/ckE1PChCNxTMfIHaDxMdo2 01Mc8pe7QpWdITDaZydglyN0mVvJM31woZApRiSGfmVm77h4J2OLq6bDZU74ZpetN1+E ERf13b4VOO000bWTflHpL3xxSLquE5L5Qr+qU= From: Bartlomiej Zolnierkiewicz To: Joe Perches Subject: Re: drivers/ide/ide-core: Convert printk's to pr_ and dev_ Date: Fri, 22 May 2009 20:22:02 +0200 User-Agent: KMail/1.11.3 (Linux/2.6.30-rc6-next-20090518-05332-g0707b5a; KDE/4.2.3; i686; ; ) Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Sergei Shtylyov , Krzysztof Halasa , Borislav Petkov References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200905222022.03294.bzolnier@gmail.com> Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 18 May 2009 22:11:26 Joe Perches wrote: > Standardize printk's by mostly mechanical conversions of > printk(KERN_ to pr_(. The KERN_DEBUG uses are > not done, deferred until a more standard mechanism exists > > Standardize pr_ logging uses of drive->name and hwif->name > to use dev_. Looks fine but please: * change the order of patches Converting to pr_ in patch #1 just to convert to dev_ in patch #2 was fine as an intermediate step but now that we have patch #2 you can: - apply #1 + #2, revert (ignoring rejects) #1 and generate new #1 - on top of new #1 apply (ignoring rejects) old #1 to obtain new #2 It should be pretty simple/quick to do (especially using quilt)... * push ">80 chars lines" change to patch #3 TBH this change is "a can of worms" (breaks automatic checking with checkpatch.pl, creates precedent, makes code more difficult to work on for some people) so I would prefer that we together try to improve code areas identified by such patch before considering applying it. * make sure that this patchset applies to ide-2.6.git/for-next (or linux-next since it contains the above tree) PS (answering your question) patch #2 is correct in using hwif->gendev and not hwif->dev -- the latter points to host's device Thanks. Bart