lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 10 Jul 2019 16:53:50 -0700
From:   Nick Desaulniers <ndesaulniers@...gle.com>
To:     Jason Gunthorpe <jgg@...pe.ca>
Cc:     Nathan Chancellor <natechancellor@...il.com>,
        Bernard Metzler <bmt@...ich.ibm.com>,
        Doug Ledford <dledford@...hat.com>, linux-rdma@...r.kernel.org,
        LKML <linux-kernel@...r.kernel.org>,
        clang-built-linux <clang-built-linux@...glegroups.com>
Subject: Re: [PATCH] rdma/siw: Use proper enumerated type in map_cqe_status

On Wed, Jul 10, 2019 at 11:26 AM Jason Gunthorpe <jgg@...pe.ca> wrote:
>
> On Wed, Jul 10, 2019 at 10:48:00AM -0700, Nathan Chancellor wrote:
> > clang warns several times:
> >
> > drivers/infiniband/sw/siw/siw_cq.c:31:4: warning: implicit conversion
> > from enumeration type 'enum siw_wc_status' to different enumeration type
> > 'enum siw_opcode' [-Wenum-conversion]
> Weird that gcc doesn't warn on this by default..

Based on the sheer number of -Wenum-conversion that Nathan has fixed,
I don't think gcc has -Wenum-conversion (or it's somehow disabled just
for gcc).
-- 
Thanks,
~Nick Desaulniers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ