Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-de
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-de
  • Repository
  • linux-de
  • include
  • net
  • sock.h
Find file BlameHistoryPermalink
  • Eric Dumazet's avatar
    net: fix sparse endianness warnings on sock_common · 077b393d
    Eric Dumazet authored Dec 02, 2012
    
    
    # make C=2 CF=-D__CHECK_ENDIAN__ net/ipv4/inet_hashtables.o
    ...
    net/ipv4/inet_hashtables.c:242:7: warning: restricted __portpair degrades to integer
    net/ipv4/inet_hashtables.c:242:7: warning: restricted __addrpair degrades to integer
    ...
    
    Move __portpair/__addrpair from include/net/inet_hashtables.h
    to include/net/sock.h where we need them in struct sock_common
    
    Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
    Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
    Cc: Ling Ma <ling.ma.program@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    077b393d