Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1580906
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] m32r: mm: fix build warning |
| Date | 2017-02-14 23:20 +0100 |
| Message-ID | <taTC2-7Be-7@gated-at.bofh.it> (permalink) |
| References | <taTsl-7x0-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 14 Feb 2017 22:05:45 +0000 Sudip Mukherjee <sudipm.mukherjee@gmail.com> wrote: > The build of m32r was giving warning: > mm/pgtable-generic.c: In function 'ptep_clear_flush': > mm/pgtable-generic.c:76:20: warning: > unused variable 'mm' [-Wunused-variable] > > The implementation of ptep_get_and_clear() and pte_accessible() > does not use 'mm'. That's because ptep_get_and_clear() and pte_accessible() are implemented as macros. If they were (static inline) C functions then this warning wouldn't occur. All the other architectures get this right.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] m32r: mm: fix build warning Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2017-02-14 23:10 +0100
Re: [PATCH] m32r: mm: fix build warning Andrew Morton <akpm@linux-foundation.org> - 2017-02-14 23:20 +0100
Re: [PATCH] m32r: mm: fix build warning Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2017-02-15 12:40 +0100
csiph-web