lkml.org 
[lkml]   [2019]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] firmware: google: Expose coreboot tables over sysfs
On Wed, Nov 20, 2019 at 02:39:47PM +0100, patrick.rudolph@9elements.com wrote:
> +static struct bin_attribute coreboot_attr_data = {
> + .attr = { .name = "data", .mode = 0444 },
> + .read = table_data_read,
> +};

BIN_ATTR_RO()?

thanks,

greg k-h

\
 
 \ /
  Last update: 2019-11-20 15:05    [W:0.053 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site