Project

General

Profile

Actions

Bug #13773

open

zs: cast between incompatible function types

Added by Toomas Soome 4 days ago. Updated 4 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors on SPARC:

    ../../sun/io/zs_async.c:462:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type]
      462 |  (int (*)())zsa_rsrv,
          |  ^
    ../../sun/io/zs_async.c:471:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type]
      471 |  (int (*)())zsa_wput,
          |  ^
    cc1: all warnings being treated as errors

Testing done: build/install/boot

Actions #1

Updated by Electric Monk 4 days ago

  • Gerrit CR set to 1462
Actions

Also available in: Atom PDF