Re: [PATCH 1/2] staging: android: ion: Avoid NULL point in error path

2018-02-12 Thread Yisheng Xie
Hi Greg, JFYI, I have rebase this patchset to v4.15-rc1.[1] [1] https://lkml.org/lkml/2018/2/12/204 Thanks Yisheng On 2018/2/1 20:34, Yisheng Xie wrote: > If we failed to create debugfs for ion at ion_device_create, the > debug_root of ion_device will be NULL, and then when try to create debug

Re: [PATCH 1/2] staging: android: ion: Avoid NULL point in error path

2018-02-12 Thread Yisheng Xie
Hi Greg, JFYI, I have rebase this patchset to v4.15-rc1.[1] [1] https://lkml.org/lkml/2018/2/12/204 Thanks Yisheng On 2018/2/1 20:34, Yisheng Xie wrote: > If we failed to create debugfs for ion at ion_device_create, the > debug_root of ion_device will be NULL, and then when try to create debug

Re: [PATCH 1/2] staging: android: ion: Avoid NULL point in error path

2018-02-06 Thread Laura Abbott
On 02/01/2018 04:34 AM, Yisheng Xie wrote: If we failed to create debugfs for ion at ion_device_create, the debug_root of ion_device will be NULL, and then when try to create debug file for shrinker of heap it will be create on the top of debugfs. If we also failed to create this the debug file,

Re: [PATCH 1/2] staging: android: ion: Avoid NULL point in error path

2018-02-06 Thread Laura Abbott
On 02/01/2018 04:34 AM, Yisheng Xie wrote: If we failed to create debugfs for ion at ion_device_create, the debug_root of ion_device will be NULL, and then when try to create debug file for shrinker of heap it will be create on the top of debugfs. If we also failed to create this the debug file,