lkml.org 
[lkml]   [2006]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 16 of 53] ipath - fix reporting of driver version to userspace
    Date
    From
    Fix the interface version that gets exported to userspace.

    Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>

    diff -r 480ceff18a88 -r 176d1f0c26a3 drivers/infiniband/hw/ipath/ipath_file_ops.c
    --- a/drivers/infiniband/hw/ipath/ipath_file_ops.c Fri May 12 15:55:28 2006 -0700
    +++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c Fri May 12 15:55:28 2006 -0700
    @@ -139,7 +139,7 @@ static int ipath_get_base_info(struct ip
    kinfo->spi_piosize = dd->ipath_ibmaxlen;
    kinfo->spi_mtu = dd->ipath_ibmaxlen; /* maxlen, not ibmtu */
    kinfo->spi_port = pd->port_port;
    - kinfo->spi_sw_version = IPATH_USER_SWVERSION;
    + kinfo->spi_sw_version = IPATH_KERN_SWVERSION;
    kinfo->spi_hw_version = dd->ipath_revision;

    if (copy_to_user(ubase, kinfo, sizeof(*kinfo)))
    -
    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: 2006-05-13 02:06    [W:4.484 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site