Skip to content

Remove duplicate warnings #1

@ajdlinux

Description

@ajdlinux

Sometimes sparse will output the same warning multiple times, and then you end up with:

+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64
+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64
+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64
+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64
+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64
+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64
+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64
+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64
+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64
+arch/powerpc/platforms/powernv/ocxl.c:493:21: warning: cast to restricted __be64

In lieu of fixing sparse, would be nice to uniq the warnings list or at least have a simple option to do that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions