lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 9 Mar 2015 10:25:23 +0800
From:	"long.wanglong" <long.wanglong@...wei.com>
To:	Rob Herring <robherring2@...il.com>
CC:	Rob Herring <robh+dt@...nel.org>,
	Gaurav Minocha <gaurav.minocha.os@...il.com>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	"Kumar Gala" <galak@...eaurora.org>,
	"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	<peifeiyue@...wei.com>
Subject: Re: [PATCH] Documentation: update the of_selftest.txt

On 2015/3/6 22:40, Rob Herring wrote:
> On Mon, Mar 2, 2015 at 9:56 PM, Wang Long <long.wanglong@...wei.com> wrote:
>> Since the directory "drivers/of/testcase-data" is renamed
>> to "drivers/of/unittest-data". so we should update the path
>> in the of_selftest.txt.
>>
>> When the kernel is build with OF_SELFTEST enabled, the output
> 
> s/build/built/
> 
> s/SELF/UNIT/

sorry for the mistakes.
> 
>> dtb is testcases.dtb instead of testcase.dtb, also update it
>> (s/testcase/testcases/).
>>
>> Signed-off-by: Wang Long <long.wanglong@...wei.com>
>> ---
>>  Documentation/devicetree/of_selftest.txt | 22 +++++++++++-----------
> 
> Please rename to of_unittest.txt as well and rename occurrences of
> selftest to unittest.
> 
> Rob

OK

> 
>>  1 file changed, 11 insertions(+), 11 deletions(-)
>>
>> diff --git a/Documentation/devicetree/of_selftest.txt b/Documentation/devicetree/of_selftest.txt
>> index 57a808b..ffce144 100644
>> --- a/Documentation/devicetree/of_selftest.txt
>> +++ b/Documentation/devicetree/of_selftest.txt
>> @@ -22,31 +22,31 @@ most of the device drivers in various use cases.
>>
>>  2. Test-data
>>
>> -The Device Tree Source file (drivers/of/testcase-data/testcases.dts) contains
>> +The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains
>>  the test data required for executing the unit tests automated in
>> -drivers/of/selftests.c. Currently, following Device Tree Source Include files
>> -(.dtsi) are included in testcase.dts:
>> +drivers/of/unittest.c. Currently, following Device Tree Source Include files
>> +(.dtsi) are included in testcases.dts:
>>
>> -drivers/of/testcase-data/tests-interrupts.dtsi
>> -drivers/of/testcase-data/tests-platform.dtsi
>> -drivers/of/testcase-data/tests-phandle.dtsi
>> -drivers/of/testcase-data/tests-match.dtsi
>> +drivers/of/unittest-data/tests-interrupts.dtsi
>> +drivers/of/unittest-data/tests-platform.dtsi
>> +drivers/of/unittest-data/tests-phandle.dtsi
>> +drivers/of/unittest-data/tests-match.dtsi
>>
>>  When the kernel is build with OF_SELFTEST enabled, then the following make rule
>>
>>  $(obj)/%.dtb: $(src)/%.dts FORCE
>>         $(call if_changed_dep, dtc)
>>
>> -is used to compile the DT source file (testcase.dts) into a binary blob
>> -(testcase.dtb), also referred as flattened DT.
>> +is used to compile the DT source file (testcases.dts) into a binary blob
>> +(testcases.dtb), also referred as flattened DT.
>>
>>  After that, using the following rule the binary blob above is wrapped as an
>> -assembly file (testcase.dtb.S).
>> +assembly file (testcases.dtb.S).
>>
>>  $(obj)/%.dtb.S: $(obj)/%.dtb
>>         $(call cmd, dt_S_dtb)
>>
>> -The assembly file is compiled into an object file (testcase.dtb.o), and is
>> +The assembly file is compiled into an object file (testcases.dtb.o), and is
>>  linked into the kernel image.
>>
>>
>> --
>> 1.8.3.4
>>
> 
> .
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ