Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752499Ab3J3M6R (ORCPT ); Wed, 30 Oct 2013 08:58:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10496 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751408Ab3J3M6Q (ORCPT ); Wed, 30 Oct 2013 08:58:16 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <52705CC0.8020909@asianux.com> References: <52705CC0.8020909@asianux.com> <523FD9E7.3050303@asianux.com> <523FDBD7.4040602@asianux.com> <523FE578.5060801@asianux.com> <52672DAC.1030307@asianux.com> <52673E41.6040606@asianux.com> <5267AF98.1010800@asianux.com> <5268B0B1.9050009@asianux.com> <526F1ACE.7080409@asianux.com> To: Chen Gang Cc: dhowells@redhat.com, Joern Rennecke , James Hogan , Rusty Russell , Takashi Iwai , Vineet Gupta , "jeremy.bennett@embecosm.com" , "linux-kernel@vger.kernel.org" , Claudiu Zissulescu , Francois Bedard , Max Filippov , Al Viro , Arnd Bergmann Subject: Re: [PATCH-next v3] kernel/system_certificate.S: use real contents instead of macro GLOBAL() Date: Wed, 30 Oct 2013 12:57:45 +0000 Message-ID: <30128.1383137865@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 21 Chen Gang wrote: > If a macro is only used within 2 times, and also its contents are > within 2 lines, recommend to expand it to shrink code line. > > For our case, the macro is not portable either: some architectures' > assembler may use another character to mark newline in a macro (e.g. > '`' for arc), which will cause issue. > > If still want to use macro and let it portable enough, it will also > need include additional header file (e.g "#include ", > although it also need be fixed). Fine by me. Applied. -- 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/