aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-02-14 10:06:52 +0000
committerAlex Deucher <[email protected]>2017-02-16 16:44:26 +0000
commit5187b6cd1d22a010e7701e3ed74bdf0ad175904a (patch)
treed534085302a47ab1ffed5bdaedf738b6791b996a /drivers/net/xen-netback/interface.c
parentdrm/amd/amdgpu: Fix flow control in uvd_v4_2_stop() (diff)
downloadkernel-5187b6cd1d22a010e7701e3ed74bdf0ad175904a.tar.gz
kernel-5187b6cd1d22a010e7701e3ed74bdf0ad175904a.zip
drm/ttm: make TTM_MAX_BO_PRIORITY unsigned
Fix a warning about different types in min() macro in amdgpu: In file included from ./include/linux/list.h:8:0, from drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:32: drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function ‘amdgpu_bo_create_restricted’: ./include/linux/kernel.h:739:16: warning: comparison of distinct pointer types lacks a cast (void) (&min1 == &min2); \ ^ ./include/linux/kernel.h:742:2: note: in expansion of macro ‘__min’ __min(typeof(x), typeof(y), \ ^~~~~ drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:434:21: note: in expansion of macro ‘min’ bo->tbo.priority = min(bo->tbo.priority, TTM_MAX_BO_PRIORITY - 1); ^~~ Signed-off-by: Nicolai Hähnle <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions