Re: [PATCH] powerpc: fix debugfs_create_dir error checking

2023-08-30 Thread Michael Ellerman
On Sun, 28 May 2023 13:16:44 +0530, mirim...@outlook.com wrote: > The debugfs_create_dir returns ERR_PTR incase of an error and the > correct way of checking it by using the IS_ERR inline function, and > not the simple null comparision. This patch fixes this. > > Applied to powerpc/next. [1/1]

Re: [PATCH] powerpc: fix debugfs_create_dir error checking

2023-06-03 Thread Immad Mir
> Still I think this patch is an improvement so I'll plan to merge it. Please let me know when you commit it. Thanks Immad. On Tue, May 30, 2023 at 4:17 PM Michael Ellerman wrote: > Greg KH writes: > > On Sun, May 28, 2023 at 01:16:44PM +0530, mirim...@outlook.com wrote: > >> From: Immad Mir

Re: [PATCH] powerpc: fix debugfs_create_dir error checking

2023-05-30 Thread Michael Ellerman
Greg KH writes: > On Sun, May 28, 2023 at 01:16:44PM +0530, mirim...@outlook.com wrote: >> From: Immad Mir >> >> The debugfs_create_dir returns ERR_PTR incase of an error and the >> correct way of checking it by using the IS_ERR inline function, and >> not the simple null comparision. This

Re: [PATCH] powerpc: fix debugfs_create_dir error checking

2023-05-28 Thread Immad Mir
> Why is this driver caring if debugfs is working or not at all? It > should just ignore the error and keep moving forward. I do not know. But, if the authors of the driver have decided to check for the error, maybe use the more appropriate way? Thanks. Immad. On Sun, May 28, 2023 at 1:27 PM

Re: [PATCH] powerpc: fix debugfs_create_dir error checking

2023-05-28 Thread Greg KH
On Sun, May 28, 2023 at 01:16:44PM +0530, mirim...@outlook.com wrote: > From: Immad Mir > > The debugfs_create_dir returns ERR_PTR incase of an error and the > correct way of checking it by using the IS_ERR inline function, and > not the simple null comparision. This patch fixes this. > >

[PATCH] powerpc: fix debugfs_create_dir error checking

2023-05-28 Thread mirimmad
From: Immad Mir The debugfs_create_dir returns ERR_PTR incase of an error and the correct way of checking it by using the IS_ERR inline function, and not the simple null comparision. This patch fixes this. Suggested-By: Ivan Orlov Signed-off-by: Immad Mir ---

[PATCH] powerpc: fix debugfs_create_dir error checking

2023-05-13 Thread mirimmad
From: Immad Mir The debugfs_create_dir returns ERR_PTR incase of an error and the correct way of checking it by using the IS_ERR inline function, and not the simple null comparision. This patch fixes this. Suggested-By: Ivan Orlov Signed-off-by: Immad Mir ---