lkml.org 
[lkml]   [2009]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[13/18] x86: GART: pci-gart_64.c: Use correct length in strncmp
    2.6.27-stable review patch.  If anyone has any objections, please let us know.

    ------------------
    From: Joe Perches <joe@perches.com>

    commit 41855b77547fa18d90ed6a5d322983d3fdab1959 upstream.

    Signed-off-by: Joe Perches <joe@perches.com>
    LKML-Reference: <1257818330.12852.72.camel@Joe-Laptop.home>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    arch/x86/kernel/pci-gart_64.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/arch/x86/kernel/pci-gart_64.c
    +++ b/arch/x86/kernel/pci-gart_64.c
    @@ -865,7 +865,7 @@ void __init gart_parse_options(char *p)
    #endif
    if (isdigit(*p) && get_option(&p, &arg))
    iommu_size = arg;
    - if (!strncmp(p, "fullflush", 8))
    + if (!strncmp(p, "fullflush", 9))
    iommu_fullflush = 1;
    if (!strncmp(p, "nofullflush", 11))
    iommu_fullflush = 0;



    \
     
     \ /
      Last update: 2009-12-17 01:59    [W:4.142 / U:0.384 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site