From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754112AbcGHITa (ORCPT ); Fri, 8 Jul 2016 04:19:30 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:56474 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751692AbcGHITZ (ORCPT ); Fri, 8 Jul 2016 04:19:25 -0400 Date: Fri, 8 Jul 2016 10:18:44 +0200 From: Mark Brown To: Robert Jarzmik Cc: "Franklin S Cooper Jr." , Andy Shevchenko , david.s.gordon@intel.com, Jens Axboe , Andrew Morton , Ming Lin , "linux-kernel@vger.kernel.org" , linux-spi , Sekhar Nori , Peter Ujfalusi Message-ID: <20160708081844.GQ6247@sirena.org.uk> References: <1467039249-7816-1-git-send-email-fcooper@ti.com> <1467039249-7816-2-git-send-email-fcooper@ti.com> <577D3B5C.7080805@ti.com> <577D5E78.2010307@ti.com> <871t368lu6.fsf@belgarion.home> <20160707080241.GE6247@sirena.org.uk> <87twg1739e.fsf@belgarion.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="c3iVMYArYos8XHMA" Content-Disposition: inline In-Reply-To: <87twg1739e.fsf@belgarion.home> X-Cookie: You are always busy. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 137.158.22.235 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [RFC] [PATCH v2 1/3] scatterlist: Add support to clone scatterlist X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --c3iVMYArYos8XHMA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jul 07, 2016 at 07:43:25PM +0200, Robert Jarzmik wrote: > I'll try, but I don't trust much my chances of success, given that this tester : > - should compile and link in $(TOP)/lib/scatterlist.c, as this is where > sg_split() is defined > - this implies all its includes > - this implies at least these ones : > bug.h > mm.h > scatterlist.h > string.h > types.h > - this implies having page_to_phys and co. defined somewhere without > draining the whole include/linux and include/asm* trees > For the tester, I had created an apart include/linux tree where all the includes > were _manually_ filled in with minimal content. > I don't know if an existing selftest had already this kind of problem, > ie. having to compile and link a kernel .c file, and that makes me feel this > might be difficult to keep a nice standalone tester. Right, that's messy :( Could it be refactored as a boot/module load time test so it could be built in the kernel environment? Less convenient to use (though KVM/UML help) but easier to build. --c3iVMYArYos8XHMA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXf2HgAAoJECTWi3JdVIfQJJEH/i+C9tszDYoZQKMHSSjP/uou AQXabVfVK3JXAOF6qixHgtuKtbhXp0rv0waSUBW6rYhPtrrQDyYl1hBVJZTk9mo2 JLyhl75RExpAmf4qSuP+d4NeWaba5C4Y4SeF1AZo0mKBBZ+SVGBdLc2g7Z3BE6yP 9aZLzlq7VOuqVtRvFKhbBrVxLJcNSpJ5+JGb+FCQLWESMxJzfJrBZbuUgYpCdJe4 DrzYgWQUtM981A9T+uB1zH66BZiP6IaxZwKpEi7lcJKMOyFDuGyRJp83BtF6YlPc n3RFUCj4Bwv6h22ZFwJ/EeLQPmXpe+urktrtzf1OQLG01drgk5cO+mgg8QYgrN4= =VApL -----END PGP SIGNATURE----- --c3iVMYArYos8XHMA--