• Alexander Viro's avatar
    [PATCH] sparse: the rest of ifr_data cleanups and annotations · 090014ee
    Alexander Viro authored
    	The rest of ->ifr_data cleanups.  A bunch of drivers use address
    of ifr->ifr_ifru, but spell that as &ifr->ifr_data, which expands to
    &ifr->ifr_ifru.ifru_data.  ifr_ifru is a union and in effect they sneak in
    a private field into that union; ifr_ifru.ifru_data is a field in that
    union and it has nothing to do with the things they want to do.  Cleaned
    up by explicit use of &ifr->ifr_ifru.
    
    	Several places where we really use ->ifr_data (i.e. use its value
    and use it as __user pointer) annotated.
    090014ee
baycom_ser_fdx.c 20.6 KB