[lkml]   [2009]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/6] mtd: m25p80: Convert to device table matching
    Hello Anton,

    Is m25p_probe now valid with dev.platform_data == NULL, for of platforms?

    Then shouldn't you have the following change as well, near the end of
    the function?

    - } else if (data->nr_parts)
    + } else if (data && data->nr_parts)
    dev_warn(&spi->dev, "ignoring %d default partitions on %s\n",
    data->nr_parts, data->name);

    Or am I misunderstanding something?

    Michael Barkowski

     \ /
      Last update: 2009-08-12 23:03    [W:0.019 / U:0.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site