Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

char: tile-srom: fix build error

This fixes the build error:

drivers/char/tile-srom.c:307:2: warning: missing braces around initializer [-Wmissing-braces]

and the resulting fallout for the missing '*' character, sorry, my
fault...

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

+1 -1
+1 -1
drivers/char/tile-srom.c
··· 303 303 } 304 304 static DEVICE_ATTR_RO(page_size); 305 305 306 - static struct attribute srom_dev_attrs[] = { 306 + static struct attribute *srom_dev_attrs[] = { 307 307 &dev_attr_total_size.attr, 308 308 &dev_attr_sector_size.attr, 309 309 &dev_attr_page_size.attr,