Re: [PATCH] powerpc/powernv: use appropiate error code

2023-09-01 Thread Immad Mir
On 01/09/23 11:10 pm, Christophe Leroy wrote: Le 01/09/2023 à 19:19, mirim...@outlook.com a écrit : [Vous ne recevez pas souvent de courriers de mirim...@outlook.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] From: Immad Mir -1 is not a valid

Re: [PATCH] powerpc/powernv: use appropiate error code

2023-09-01 Thread Immad Mir
On 01/09/23 11:10 pm, Christophe Leroy wrote: Le 01/09/2023 à 19:19, mirim...@outlook.com a écrit : [Vous ne recevez pas souvent de courriers de mirim...@outlook.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] From: Immad Mir -1 is not a valid

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: >

Re: [PATCH] powerpc: fix debugfs_create_dir error checking

2023-05-28 Thread Immad Mir
:27 PM Greg KH wrote: > 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 > >