[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2c0c2e54-a385-c4ce-da29-0f84454cce55@linux.intel.com>
Date: Tue, 28 Apr 2020 12:24:05 -0700
From: "Kuppuswamy, Sathyanarayanan"
<sathyanarayanan.kuppuswamy@...ux.intel.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: rafael@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/1] drivers: base: Fix NULL pointer exception in
__platform_driver_probe()
Hi Greg,
On 4/28/20 12:03 PM, Greg KH wrote:
> On Wed, Apr 08, 2020 at 02:40:03PM -0700, sathyanarayanan.kuppuswamy@...ux.intel.com wrote:
>> From: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@...ux.intel.com>
>>
>> If platform bus driver registration is failed then,
>
> How is your platform driver registration failing? What caused that, is
> it an in-kernel problem with something? How can it be triggered?
In my case I triggered it intentionally. For one of our internal
project we want to strictly control the number of drivers/devices
allowed in kernel. To verify the feasibility of adding above support,
I intentionally failed few bus drivers and checked the behavior. In
one of those tests I hence came across the mentioned issue.
In any case, platform bus driver registration failure is a valid case
right ? Any issue we notice when this happens needs to be handled right?
>
> thanks,
>
> greg k-h
>
Powered by blists - more mailing lists