Path: csiph.com!aioe.org!news.ecp.fr!news2.arglkargh.de!news.mixmin.net!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!telefonica.de!news.panservice.it!bofh.it!news.nic.it!robomod From: khalasa@piap.pl (Krzysztof =?utf-8?Q?Ha=C5=82asa?=) Newsgroups: linux.kernel Subject: Coding style details Date: Fri, 19 Jun 2015 10:40:02 +0200 Message-ID: X-Original-To: lkml MIME-Version: 1.0 Content-Type: text/plain X-Klms-Rule-ID: 1 X-Klms-Message-Action: clean X-Klms-Antispam-Lua-Profiles: 79558 [Jun 19 2015] X-Klms-Antispam-Version: 5.5.6 X-Klms-Antispam-Envelope-From: khalasa@piap.pl X-Klms-Antispam-Status: not_detected X-Klms-Antispam-Method: none X-Klms-Antispam-Moebius-Timestamps: 3607622, 3607704, 3607209 X-Klms-Antispam-Info: LuaCore: 230 2015-06-18_15-19-46 a57002d05d325a1ca642728c4b1d1e7603231830, Auth:dkim=none X-Klms-Antispam-Interceptor-Info: scan successful X-Klms-Antiphishing: Clean, 2015/06/18 15:23:24 X-Klms-Antivirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2015/06/19 02:20:00 #8342160 X-Klms-Antivirus-Status: Clean, skipped Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 20 Organization: linux.* mail to news gateway X-Original-Date: Fri, 19 Jun 2015 10:35:31 +0200 X-Original-Message-ID: X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: aioe.org linux.kernel:1168620 Hi, a simple question: which style is preferred? #define REG8_1(a0) ((const u16[8]){a0, a0 + 1, a0 + 2, a0 + 3}) vs #define REG8_1(a0) ((const u16[8]) {a0, a0 + 1, a0 + 2, a0 + 3}) ^^^^^ -- Krzysztof Halasa Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland -- 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/