Project

General

Profile

Actions

Bug #9351

closed

pcmcia: error: '*' in boolean context, suggest '&&' instead

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Issue found by gcc 7 build:

    ../../common/pcmcia/nexus/pcmcia.c:853:25: error: '*' in boolean context, suggest '&&' instead [-Werror=int-in-bool-context]
        if (!(ppd->ppd_flags * PPD_CARD_CARDBUS))
             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF