Re: [PATCH] PnP Updates for 2.6.2-rc2

From: Adam Belay (ambx1_at_neo.rr.com)
Date: 01/30/04

  • Next message: Adam Belay: "Re: [PATCH] PnP Updates for 2.6.2-rc2"
    Date:	Thu, 29 Jan 2004 23:57:54 +0000
    To: Andrew Morton <akpm@osdl.org>
    
    

    Recently many PnPBIOS bugs have been triggered by static resource information
    requests. This patch makes an effort to further avoid making them.

    diff -urN a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c
    --- a/drivers/pnp/pnpbios/core.c 2004-01-09 06:59:06.000000000 +0000
    +++ b/drivers/pnp/pnpbios/core.c 2004-01-17 21:45:05.000000000 +0000
    @@ -251,7 +251,7 @@
             node = pnpbios_kmalloc(node_info.max_node_size, GFP_KERNEL);
             if (!node)
                     return -1;
    - if (pnp_bios_get_dev_node(&nodenum, (char )PNPMODE_STATIC, node))
    + if (pnp_bios_get_dev_node(&nodenum, (char )PNPMODE_DYNAMIC, node))
                     return -ENODEV;
             if(pnpbios_write_resources_to_node(res, node)<0) {
                     kfree(node);
     
    -
    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/


  • Next message: Adam Belay: "Re: [PATCH] PnP Updates for 2.6.2-rc2"

    Relevant Pages

    • Re: LAN
      ... Most common tasks include internet downloading with 32 and passing files to ... Are you talking about 'data' transfer or actual requests? ... Schelstraete Bart ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: kern.ipc.nmbclusters
      ... > 11125 requests for memory denied ... > 0 calls to protocol drain routines ... DOS may be?! ... >> To unsubscribe, send any mail to ...
      (freebsd-questions)
    • Re: Server Report
      ... Subcription/unsubscription/info requests should always be sent to the -request ... To unsubscribe from a mailinglist, simply send a message with the word (you ... guessed it :-) "unsubscribe" in the body of the message and empty Subject: field ... address with the word "archive" as the first word of your Subject:. ...
      (comp.lang.python)
    • Re: test message
      ... S. M. Ibrahim (Lavlu) wrote: ... hotmail is known to drop unsubscribe requests... ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
      (Debian-User)
    • Re: help to delete unwanted spam installed on my computer
      ... I've scanned the entire website for an "unsubscribe" link ... Under "contact us" I've sent several requests for ... On-Line Help Computer Service ...
      (microsoft.public.windowsxp.help_and_support)