Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-coresight-backports
  • 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
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

The Gitlab will upgrade to latest version for security in the Oct 7th (9:00 ~ 12:00 UTC+8), during the time, the Gitlab site will be offline.

  • linux-arm
  • linux-coresight-backports
  • Repository
  • linux-coresight-backports
  • arch
  • mips
  • kernel
  • setup.c
Find file BlameHistoryPermalink
  • Mathieu Malaterre's avatar
    MIPS: Remove a warning when PHYS_OFFSET is 0x0 · ab3d8441
    Mathieu Malaterre authored Jan 02, 2018
    
    
    Rewrite the comparison in `else if` statement, case where `min_low_pfn >
    ARCH_PFN_OFFSET` has already been checked in the first `if` statement:
    
      if (min_low_pfn > ARCH_PFN_OFFSET) {
    
    Fix non-fatal warning during compilation using W=1:
    
    arch/mips/kernel/setup.c: In function ‘bootmem_init’:
    arch/mips/kernel/setup.c:461:25: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
      } else if (min_low_pfn < ARCH_PFN_OFFSET) {
                             ^
    
    Signed-off-by: default avatarMathieu Malaterre <malat@debian.org>
    Reviewed-by: default avatarJames Hogan <jhogan@kernel.org>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/18176/
    
    
    Signed-off-by: default avatarJames Hogan <jhogan@kernel.org>
    ab3d8441