Thread (16 messages) flat view 16 messages, 3 authors, 2021-06-10

Re: [PATCH v7 4/5] nvmem: eeprom: at25: export FRAM serial num

From: Jiří Prchal <hidden>
Date: 2021-06-07 14:47:53
Also in: lkml


On 07. 06. 21 14:36, Greg Kroah-Hartman wrote:
On Mon, Jun 07, 2021 at 02:26:39PM +0200, Jiri Prchal wrote:
quoted
+	return sysfs_emit(buf, "%016llx\n", *(unsigned long long *)at25->sernum);
That's a horrid hack, why not use the %*phN modifier?
Prints as little endian, is that OK?

Jiri
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help