[PATCH 1/1] arch:hexagon/powerpc: use KSYM_NAME_LEN in array size

2023-05-28 Thread Maninder Singh
kallsyms_lookup which in turn calls for kallsyms_lookup_buildid() writes on index "KSYM_NAME_LEN - 1". Thus array size should be KSYM_NAME_LEN. for powerpc and hexagon it was defined as "128" directly. and commit '61968dbc2d5d' changed define value to 512, So both were missed to update with new

Re: [PATCH v2 0/3] Remove iommu_group_remove_device() from fsl

2023-05-28 Thread Jason Gunthorpe
On Tue, May 23, 2023 at 08:26:32AM +0200, Joerg Roedel wrote: > On Tue, May 16, 2023 at 09:35:25PM -0300, Jason Gunthorpe wrote: > > With POWER SPAPR now having a real iommu driver and using the normal group > > lifecycle stuff fixing FSL will leave only VFIO's no-iommu support as a > > user for

Re: [PATCH 00/97] usb: Convert to platform remove callback returning void

2023-05-28 Thread Greg Kroah-Hartman
On Sun, May 28, 2023 at 12:37:17PM +0100, Greg Kroah-Hartman wrote: > On Thu, May 18, 2023 at 01:01:02AM +0200, Uwe Kleine-König wrote: > > Hello, > > > > this series convers the drivers below drivers/usb to the .remove_new() > > callback of struct platform_driver(). The motivation is to make the

Re: [PATCH 00/97] usb: Convert to platform remove callback returning void

2023-05-28 Thread Greg Kroah-Hartman
On Thu, May 18, 2023 at 01:01:02AM +0200, Uwe Kleine-König wrote: > Hello, > > this series convers the drivers below drivers/usb to the .remove_new() > callback of struct platform_driver(). The motivation is to make the > remove callback less prone for errors and wrong assumptions. See commit >

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