On Sun, Feb 01, 2015 at 02:08:50AM +0100, Niklas Cassel wrote:
> Calling mtd_device_parse_register with the same mtd_info
> (e.g. registering several partitions on a single device)
> would add the same reboot notifier twice, causing an
> infinte loop in notifier_chain_register during boot up.
>
>
On Sun, Feb 01, 2015 at 02:08:50AM +0100, Niklas Cassel wrote:
Calling mtd_device_parse_register with the same mtd_info
(e.g. registering several partitions on a single device)
would add the same reboot notifier twice, causing an
infinte loop in notifier_chain_register during boot up.
On Mon, Feb 02, 2015 at 10:01:51AM +0100, Ricard Wanderlof wrote:
>
> > On 02/02/2015 12:07 AM, Brian Norris wrote:
> > >
> > > No driver should be calling mtd_device_parse_register() multiple times
> > > on the same mtd_info. Under what context do you see this? What driver?
> >
> On 02/02/2015 12:07 AM, Brian Norris wrote:
> >
> > No driver should be calling mtd_device_parse_register() multiple times
> > on the same mtd_info. Under what context do you see this? What driver?
> arch/cris/arch-v32/drivers/axisflashmap.c
Looking at it another way, why should it not be
On Mon, Feb 02, 2015 at 08:08:17AM +0100, Niklas Cassel wrote:
>
> On 02/02/2015 12:07 AM, Brian Norris wrote:
> > On Sun, Feb 01, 2015 at 02:08:50AM +0100, Niklas Cassel wrote:
> >> Calling mtd_device_parse_register with the same mtd_info
> >> (e.g. registering several partitions on a single
On Mon, Feb 02, 2015 at 08:08:17AM +0100, Niklas Cassel wrote:
On 02/02/2015 12:07 AM, Brian Norris wrote:
On Sun, Feb 01, 2015 at 02:08:50AM +0100, Niklas Cassel wrote:
Calling mtd_device_parse_register with the same mtd_info
(e.g. registering several partitions on a single device)
On 02/02/2015 12:07 AM, Brian Norris wrote:
No driver should be calling mtd_device_parse_register() multiple times
on the same mtd_info. Under what context do you see this? What driver?
arch/cris/arch-v32/drivers/axisflashmap.c
Looking at it another way, why should it not be allowed, if
On Mon, Feb 02, 2015 at 10:01:51AM +0100, Ricard Wanderlof wrote:
On 02/02/2015 12:07 AM, Brian Norris wrote:
No driver should be calling mtd_device_parse_register() multiple times
on the same mtd_info. Under what context do you see this? What driver?
On 02/02/2015 12:07 AM, Brian Norris wrote:
> On Sun, Feb 01, 2015 at 02:08:50AM +0100, Niklas Cassel wrote:
>> Calling mtd_device_parse_register with the same mtd_info
>> (e.g. registering several partitions on a single device)
>> would add the same reboot notifier twice, causing an
>> infinte
On Sun, Feb 01, 2015 at 02:08:50AM +0100, Niklas Cassel wrote:
> Calling mtd_device_parse_register with the same mtd_info
> (e.g. registering several partitions on a single device)
> would add the same reboot notifier twice, causing an
> infinte loop in notifier_chain_register during boot up.
No
On Sun, Feb 01, 2015 at 02:08:50AM +0100, Niklas Cassel wrote:
Calling mtd_device_parse_register with the same mtd_info
(e.g. registering several partitions on a single device)
would add the same reboot notifier twice, causing an
infinte loop in notifier_chain_register during boot up.
No
On 02/02/2015 12:07 AM, Brian Norris wrote:
On Sun, Feb 01, 2015 at 02:08:50AM +0100, Niklas Cassel wrote:
Calling mtd_device_parse_register with the same mtd_info
(e.g. registering several partitions on a single device)
would add the same reboot notifier twice, causing an
infinte loop in
Calling mtd_device_parse_register with the same mtd_info
(e.g. registering several partitions on a single device)
would add the same reboot notifier twice, causing an
infinte loop in notifier_chain_register during boot up.
Signed-off-by: Niklas Cassel
---
drivers/mtd/mtdcore.c | 2 +-
1 file
Calling mtd_device_parse_register with the same mtd_info
(e.g. registering several partitions on a single device)
would add the same reboot notifier twice, causing an
infinte loop in notifier_chain_register during boot up.
Signed-off-by: Niklas Cassel n...@flawful.org
---
drivers/mtd/mtdcore.c |
14 matches
Mail list logo