Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios Need...
details: https://anonhg.NetBSD.org/src/rev/5d22cb73aa36
branches: trunk
changeset: 992733:5d22cb73aa36
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:37:58 2018 +0000
description:
Need __UNCONST for this abstraction, will pass to release_firmware.
diffstat:
sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_shadow.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 58bf175ce54e -r 5d22cb73aa36 sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_shadow.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_shadow.c Mon Aug 27 07:37:47 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_shadow.c Mon Aug 27 07:37:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nouveau_nvkm_subdev_bios_shadow.c,v 1.2 2018/08/27 04:58:33 riastradh Exp $ */
+/* $NetBSD: nouveau_nvkm_subdev_bios_shadow.c,v 1.3 2018/08/27 07:37:58 riastradh Exp $ */
/*
* Copyright 2014 Red Hat Inc.
@@ -24,7 +24,7 @@
* Authors: Ben Skeggs <bskeggs%redhat.com@localhost>
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_subdev_bios_shadow.c,v 1.2 2018/08/27 04:58:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_subdev_bios_shadow.c,v 1.3 2018/08/27 07:37:58 riastradh Exp $");
#include "priv.h"
@@ -156,7 +156,7 @@
int ret = request_firmware(&fw, name, dev);
if (ret)
return ERR_PTR(-ENOENT);
- return (void *)fw;
+ return __UNCONST(fw);
}
static const struct nvbios_source
Home |
Main Index |
Thread Index |
Old Index