lkml.org 
[lkml]   [2013]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH net] hyperv: Fix a compiler warning in netvsc_send()
    From
    From: Haiyang Zhang <haiyangz@microsoft.com>
    Date: Tue, 16 Apr 2013 12:03:51 -0700

    > Fixed: warning: cast from pointer to integer of different size
    >
    > Reported-by: kbuild test robot <fengguang.wu@intel.com>
    > Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
    > Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>

    If you're coding pointers into request IDs you better make that
    explicit and add lots of comments explaining why that's OK and
    why it's going to work fine in these circumstances.

    I'm not applying this patch, it just makes a bad situation even
    worse. Either your request IDs are 64-bit or they are not, it
    can't be both.


    \
     
     \ /
      Last update: 2013-04-16 21:21    [W:2.547 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site