]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
frv: fix compiler warning from definition of __pmd()
authorDan Williams <dan.j.williams@intel.com>
Sat, 16 Jan 2016 00:56:35 +0000 (16:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Jan 2016 01:56:32 +0000 (17:56 -0800)
commit6d8113c75a72f80164cc68b1af45f1608f9a36c6
tree047b8c683a40483b952ad0ae4ea7b20914967027
parent888cdbc2c9a76a0e450f533b1957cdbfe7d483d5
frv: fix compiler warning from definition of __pmd()

Take into account that the pmd_t type is a array inside a struct, so it
needs two levels of brackets to initialize.  Otherwise, a usage of __pmd
generates a warning:

  include/linux/mm.h:986:2: warning: missing braces around initializer [-Wmissing-braces]

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/include/asm/page.h