Project

General

Profile

Actions

Bug #10750

closed

s1394: NULL pointer errors

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-04-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

NULL pointer errors:

    ../../common/io/1394/s1394_hotplug.c: In function 's1394_devi_find':
    ../../common/io/1394/s1394_hotplug.c:447:17: error: comparison between pointer and integer [-Werror]
       if (regptr[2] != NULL || regptr[3] != NULL) {
                     ^~
    ../../common/io/1394/s1394_hotplug.c:447:38: error: comparison between pointer and integer [-Werror]
       if (regptr[2] != NULL || regptr[3] != NULL) {
                                          ^~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF