lkml.org 
[lkml]   [2004]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] init. mca_bus_type even if !MCA_bus
    "Randy.Dunlap" <rddunlap@osdl.org> wrote:
    >
    > - if(mca_system_init()) {
    > + if (mca_system_init()) {
    > printk(KERN_ERR "MCA bus system initialisation failed\n");
    > return -ENODEV;
    > }
    >
    > + if (!MCA_bus)
    > + return -ENODEV;

    Why is it appropriate to register the MCA bus type when there is no
    MCA bus present?
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:2.644 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site