Project

General

Profile

Bug #9264

amd8111s: error: '<<' in boolean context

Added by Toomas Soome over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2018-03-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Issue found by gcc 7 build:

    ../../intel/io/amd8111s/amd8111s_hw.c:1486:12: error: '<<' in boolean context, d
    id you mean '<' ? [-Werror=int-in-bool-context]
            !(1 << (HashCode & 0x07));
             ~~~^~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk about 1 year ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit e916f0dc33b09935ecd578858cf0aaa9867be4ec

commit  e916f0dc33b09935ecd578858cf0aaa9867be4ec
Author: Toomas Soome <tsoome@me.com>
Date:   2018-04-23T16:15:39.000Z

    9264 amd8111s: error: '<<' in boolean context
    Reviewed by: Jason King <jason.brian.king@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: Vitaliy Gusev <gusev.vitaliy@icloud.com>
    Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

Also available in: Atom PDF