Re: RFC: kernel coding style: prefer array to &array[0] ?

From: Julia Lawall
Date: Sun Jul 05 2015 - 17:28:36 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/