Thread (11 messages) 11 messages, 3 authors, 2016-07-22

Re: [PATCH] eal: fix check number of bytes from read function

From: Thomas Monjalon <hidden>
Date: 2016-07-21 23:09:12

2016-07-21 20:50, Jastrzebski, MichalX K:
From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
quoted
- (int)sizeof(uint64_t) can be replaced by 8 but it's shorter ;)
I didn't want to change all invokes of read() function here. 
I can use some macro:
#define PFN_MASK_SIZE	8
How do You think?
Yes may be an idea.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help