* question about drivers/video/fbdev/auo_k190x.c
@ 2016-10-28 20:33 Julia Lawall
0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2016-10-28 20:33 UTC (permalink / raw)
To: linux-fbdev
The file drivers/video/fbdev/auo_k190x.c contains the code:
static DEVICE_ATTR(temp, 0644, temp_show, NULL);
Is it correct to have the permission 0644 and not have a store function?
Should it be 0444 instead?
thanks,
julia
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: question about drivers/video/fbdev/auo_k190x.c
@ 2016-11-02 8:22 Tomi Valkeinen
0 siblings, 0 replies; 2+ messages in thread
From: Tomi Valkeinen @ 2016-11-02 8:22 UTC (permalink / raw)
To: linux-fbdev
[-- Attachment #1.1: Type: text/plain, Size: 308 bytes --]
On 28/10/16 23:33, Julia Lawall wrote:
> The file drivers/video/fbdev/auo_k190x.c contains the code:
>
> static DEVICE_ATTR(temp, 0644, temp_show, NULL);
>
> Is it correct to have the permission 0644 and not have a store function?
> Should it be 0444 instead?
444 looks correct to me.
Tomi
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-02 8:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-02 8:22 question about drivers/video/fbdev/auo_k190x.c Tomi Valkeinen
-- strict thread matches above, loose matches on Subject: below --
2016-10-28 20:33 Julia Lawall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).