[PATCH v1] kexec:fs2dt: Refine kdump device_tree sort

2014-06-17 Thread Wei.Yang
From: Yang Wei The commit b02d735bf was to rearrange the device-tree entries, and assumed that these entries are sorted in the ascending order. but acctually when I was validating kexec and kdump, the order of serial node still is changed. We should not only compare the length of directory name,

[PATCH v1] fs2dt: Refine kdump device_tree sort

2014-06-12 Thread Wei.Yang
From: Yang Wei The commit b02d735bf was to rearrange the device-tree entries, and assumed that these entries are sorted in the ascending order. but acctually when I was validating kexec and kdump, the order of serial node still is changed. We should not only compare the length of directory name,