mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ATM: use designated initializers
Prepare to mark sensitive kernel structures for randomization by making sure they're using designated initializers. These were identified during allyesconfig builds of x86, arm, and arm64, with most initializer fixes extracted from grsecurity. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4794195058
commit
99a5e178bd
4 changed files with 54 additions and 55 deletions
|
@ -111,9 +111,9 @@ static inline void lec_arp_put(struct lec_arp_table *entry)
|
|||
}
|
||||
|
||||
static struct lane2_ops lane2_ops = {
|
||||
lane2_resolve, /* resolve, spec 3.1.3 */
|
||||
lane2_associate_req, /* associate_req, spec 3.1.4 */
|
||||
NULL /* associate indicator, spec 3.1.5 */
|
||||
.resolve = lane2_resolve, /* spec 3.1.3 */
|
||||
.associate_req = lane2_associate_req, /* spec 3.1.4 */
|
||||
.associate_indicator = NULL /* spec 3.1.5 */
|
||||
};
|
||||
|
||||
static unsigned char bus_mac[ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue