aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.h
diff options
context:
space:
mode:
authorDeming Wang <[email protected]>2023-04-12 03:30:41 -0400
committerGreg Kroah-Hartman <[email protected]>2023-04-20 14:20:51 +0200
commit32118bdc9471f6d28dbf3d55b2bf0f912be0c62b (patch)
tree6cae0432d893064dec84152f6a390e602e137e88 /drivers/gpu/drm/omapdrm/omap_fbdev.h
parentb56eef3e16d888883fefab47425036de80dd38fc (diff)
virt: acrn: Replace obsolete memalign() with posix_memalign()
memalign() is obsolete according to its manpage. Replace memalign() with posix_memalign() and remove malloc.h include that was there for memalign(). As a pointer is passed into posix_memalign(), initialize *p to NULL to silence a warning about the function's return value being used as uninitialized (which is not valid anyway because the error is properly checked before p is returned). Signed-off-by: Deming Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.h')
0 files changed, 0 insertions, 0 deletions