Project

General

Profile

Actions

Bug #7000

closed

gfxp_umem_cookie_init() does wrong cast on return

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2016-05-26
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The gfxp_umem_cookie_init() in usr/src/uts/i86pc/io/gfx_private/gfxp_devmap.c is defined to return ddi_umem_cookie_t but instead:

return ((ddi_umem_cookie_t *)umem_cookie);

Actions

Also available in: Atom PDF