[PATCH akpm/next 0/4] Fix various issues in new hmm driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My build coverage for non-modules adding dead modular code
tripped on this recently new addition.  After removing that and
rebuilding, I saw the driver still had warnings that were independent
of the "demodular" change, which the 2nd commit fixes.

Then there was "select" usage that was bound to cause troubles because
it was selecting an option with explicit dependencies.  We decouple by
adding an ARCH_HAS so the selects are valid while keeping the depends
listed in a single place.  We do this so we can update the parent depends
properly (and only once) in 4/4.

Build tested for x86-64, arm64 and s390.  Other 64 bit arch don't build
and hence appear to be not applicable, as per details in patch 4/4.

Cc: Jérôme Glisse <jglisse@xxxxxxxxxx>
Cc: Evgeny Baskakov <ebaskakov@xxxxxxxxxx>
Cc: John Hubbard <jhubbard@xxxxxxxxxx>
Cc: Mark Hairgrove <mhairgrove@xxxxxxxxxx>
Cc: Sherry Cheung <SCheung@xxxxxxxxxx>
Cc: Subhash Gutti <sgutti@xxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

---

Paul Gortmaker (4):
  mm/hmm: make it explicitly non-modular
  mm/hmm: fix warnings and SECTION_SIZE definition overlap
  mm/hmm: fix Kconfig to have valid usage of "select"
  mm/hmm: exclude 64 bit arch that explicitly fail to work.

 mm/Kconfig | 23 +++++++++--------------
 mm/hmm.c   | 37 +++++++++++++++----------------------
 2 files changed, 24 insertions(+), 36 deletions(-)

-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux