Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754340Ab0BARaZ (ORCPT ); Mon, 1 Feb 2010 12:30:25 -0500 Received: from mail.perches.com ([173.55.12.10]:1699 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753852Ab0BARaX (ORCPT ); Mon, 1 Feb 2010 12:30:23 -0500 Subject: Re: [PATCH 05/10] drivers/scsi/arcmsr: Fix continuation line formats From: Joe Perches To: James Bottomley Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org In-Reply-To: <1265044616.6910.15.camel@mulgrave.site> References: <1a318fa326c6ab2584b9d318bd1538e7f7debbdf.1264967499.git.joe@perches.com> <1265044616.6910.15.camel@mulgrave.site> Content-Type: text/plain; charset="UTF-8" Date: Mon, 01 Feb 2010 09:30:22 -0800 Message-ID: <1265045422.25140.289.camel@Joe-Laptop.home> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1147 Lines: 31 On Mon, 2010-02-01 at 11:16 -0600, James Bottomley wrote: > On Sun, 2010-01-31 at 12:02 -0800, Joe Perches wrote: > > String constants that are continued on subsequent lines with \ > > are not good. > > Why? It's perfectly valid ansi C. Because they generally add unwanted spaces or tabs between words in logging messages. Just like these do. > but I also dislike your solution; I'd have split the string into two > separate ones and relied on compiler concatenation. Which Linus dislikes because it makes grepping difficult. > However, the point is that all three are perfectly legal C. Choosing > one form over another is something best left to the maintainers rather > than imposing one style by fiat. Which a patch does not do. > Consider this change veto'd unless you can get an explicit ack from the > current maintainer for changing their style. The current messages are defective. -- 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/