[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1507052327200.2515@hadrien>
Date: Sun, 5 Jul 2015 23:28:19 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: Joe Perches <joe@...ches.com>
cc: Julia Lawall <julia.lawall@...6.fr>,
Dan Carpenter <dan.carpenter@...cle.com>,
Clemens Ladisch <clemens@...isch.de>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Subject: Re: RFC: kernel coding style: prefer array to &array[0] ?
Anotherpattern that occurred to me is, eg
info->MS_Status = *(struct MS_STATUS *)&buf[0];
where buf is an array. I find this in 11 files.
julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists