Hi Luca, FYI, there are new compile warnings show up in tree: git://people.freedesktop.org/~airlied/linux.git drm-next head: df86b5765a48d5f557489577652bd6df145b0e1b commit: fd64ca8a9d9d7e92fc81fe0b23dcf324246fd356 [169/234] drm/radeon: implement radeon_atif_verify_interface config: i386-randconfig-b101 (attached as .config) All warnings: drivers/gpu/drm/radeon/radeon_acpi.c: In function 'radeon_atif_verify_interface': drivers/gpu/drm/radeon/radeon_acpi.c:128:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' [-Wformat] vim +128 drivers/gpu/drm/radeon/radeon_acpi.c fd64ca8a (Luca Tettamanti 2012-08-16 112) static int radeon_atif_verify_interface(acpi_handle handle, fd64ca8a (Luca Tettamanti 2012-08-16 113) struct radeon_atif *atif) fd64ca8a (Luca Tettamanti 2012-08-16 114) { fd64ca8a (Luca Tettamanti 2012-08-16 115) union acpi_object *info; fd64ca8a (Luca Tettamanti 2012-08-16 116) struct atif_verify_interface output; fd64ca8a (Luca Tettamanti 2012-08-16 117) size_t size; fd64ca8a (Luca Tettamanti 2012-08-16 118) int err = 0; fd64ca8a (Luca Tettamanti 2012-08-16 119) fd64ca8a (Luca Tettamanti 2012-08-16 120) info = radeon_atif_call(handle, ATIF_FUNCTION_VERIFY_INTERFACE, NULL); fd64ca8a (Luca Tettamanti 2012-08-16 121) if (!info) fd64ca8a (Luca Tettamanti 2012-08-16 122) return -EIO; fd64ca8a (Luca Tettamanti 2012-08-16 123) fd64ca8a (Luca Tettamanti 2012-08-16 124) memset(&output, 0, sizeof(output)); fd64ca8a (Luca Tettamanti 2012-08-16 125) fd64ca8a (Luca Tettamanti 2012-08-16 126) size = *(u16 *) info->buffer.pointer; fd64ca8a (Luca Tettamanti 2012-08-16 127) if (size < 12) { fd64ca8a (Luca Tettamanti 2012-08-16 @128) DRM_INFO("ATIF buffer is too small: %lu\n", size); fd64ca8a (Luca Tettamanti 2012-08-16 129) err = -EINVAL; fd64ca8a (Luca Tettamanti 2012-08-16 130) goto out; fd64ca8a (Luca Tettamanti 2012-08-16 131) } fd64ca8a (Luca Tettamanti 2012-08-16 132) size = min(sizeof(output), size); fd64ca8a (Luca Tettamanti 2012-08-16 133) fd64ca8a (Luca Tettamanti 2012-08-16 134) memcpy(&output, info->buffer.pointer, size); fd64ca8a (Luca Tettamanti 2012-08-16 135) fd64ca8a (Luca Tettamanti 2012-08-16 136) /* TODO: check version? */ --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu, Yuanhan Liu Intel Corporation