Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Helge Deller
On 9/10/24 04:09, Jason Andryuk wrote: From: Jason Andryuk Probing xen-fbfront faults in video_is_primary_device(). The passed-in struct device is NULL since xen-fbfront doesn't assign it and the memory is kzalloc()-ed. Assign fb_info->device to avoid this. This was exposed by the conversion

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Greg KH
On Tue, Sep 10, 2024 at 02:18:35PM +0200, Arthur Borsboom wrote: > On Tue, 10 Sept 2024 at 10:33, Greg KH wrote: > > > > On Tue, Sep 10, 2024 at 10:13:01AM +0200, Roger Pau Monné wrote: > > > On Tue, Sep 10, 2024 at 09:29:30AM +0200, Thomas Zimmermann wrote: > > > > Hi > > > > > > > > Am 10.09.24

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Arthur Borsboom
On Tue, 10 Sept 2024 at 10:33, Greg KH wrote: > > On Tue, Sep 10, 2024 at 10:13:01AM +0200, Roger Pau Monné wrote: > > On Tue, Sep 10, 2024 at 09:29:30AM +0200, Thomas Zimmermann wrote: > > > Hi > > > > > > Am 10.09.24 um 09:22 schrieb Roger Pau Monné: > > > > On Mon, Sep 09, 2024 at 10:09:16PM -0

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Greg KH
On Tue, Sep 10, 2024 at 10:13:01AM +0200, Roger Pau Monné wrote: > On Tue, Sep 10, 2024 at 09:29:30AM +0200, Thomas Zimmermann wrote: > > Hi > > > > Am 10.09.24 um 09:22 schrieb Roger Pau Monné: > > > On Mon, Sep 09, 2024 at 10:09:16PM -0400, Jason Andryuk wrote: > > > > From: Jason Andryuk > > >

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Roger Pau Monné
On Tue, Sep 10, 2024 at 09:29:30AM +0200, Thomas Zimmermann wrote: > Hi > > Am 10.09.24 um 09:22 schrieb Roger Pau Monné: > > On Mon, Sep 09, 2024 at 10:09:16PM -0400, Jason Andryuk wrote: > > > From: Jason Andryuk > > > > > > Probing xen-fbfront faults in video_is_primary_device(). The passed-

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Thomas Zimmermann
Hi Am 10.09.24 um 09:22 schrieb Roger Pau Monné: On Mon, Sep 09, 2024 at 10:09:16PM -0400, Jason Andryuk wrote: From: Jason Andryuk Probing xen-fbfront faults in video_is_primary_device(). The passed-in struct device is NULL since xen-fbfront doesn't assign it and the memory is kzalloc()-ed.

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Thomas Zimmermann
Am 10.09.24 um 04:09 schrieb Jason Andryuk: From: Jason Andryuk Probing xen-fbfront faults in video_is_primary_device(). The passed-in struct device is NULL since xen-fbfront doesn't assign it and the memory is kzalloc()-ed. Assign fb_info->device to avoid this. This was exposed by the co

Re: [PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-10 Thread Roger Pau Monné
On Mon, Sep 09, 2024 at 10:09:16PM -0400, Jason Andryuk wrote: > From: Jason Andryuk > > Probing xen-fbfront faults in video_is_primary_device(). The passed-in > struct device is NULL since xen-fbfront doesn't assign it and the > memory is kzalloc()-ed. Assign fb_info->device to avoid this. >

[PATCH] fbdev/xen-fbfront: Assign fb_info->device

2024-09-09 Thread Jason Andryuk
From: Jason Andryuk Probing xen-fbfront faults in video_is_primary_device(). The passed-in struct device is NULL since xen-fbfront doesn't assign it and the memory is kzalloc()-ed. Assign fb_info->device to avoid this. This was exposed by the conversion of fb_is_primary_device() to video_is_pr