Messages in this thread | | | From | David Howells <> | Subject | Re: memfill | Date | Tue, 07 Feb 2017 17:29:15 +0000 |
| |
Matthew Wilcox <willy@infradead.org> wrote:
> You've misunderstood the purpose of memfill. memfill allows the caller > to specify a pattern which is not a single byte in size, eg memfill(addr, > 0x12345678, 64) would result in 0x12345678 being reproduced 16 times. > memset(addr, 0x12345678, 64) would result in 0x78 being reproduced > 64 times.
Ah. Should it take a unsigned int rather than an unsigned long?
David
| |