Re: [PATCH 2/2] firmware: google: Expose coreboot tables over sysfs

From: Greg Kroah-Hartman
Date: Wed Nov 20 2019 - 09:03:41 EST


On Wed, Nov 20, 2019 at 02:39:47PM +0100, patrick.rudolph@xxxxxxxxxxxxx wrote:
> +static struct bin_attribute coreboot_attr_data = {
> + .attr = { .name = "data", .mode = 0444 },
> + .read = table_data_read,
> +};

BIN_ATTR_RO()?

thanks,

greg k-h