/* Update an object's checksum and return true if it was modified.  */
static bool update_checksum(struct kmemleak_object *object)
/* Update an object's checksum and return true if it was modified.  */
static bool update_checksum(struct kmemleak_object *object)
{
	u32 old_csum = object->checksum;
	if (!kmemcheck_is_obj_initialized(object->pointer, object->size))
		return false;
	object->checksum = crc32(0, (void *)object->pointer, object->size);
	return object->checksum != old_csum;
}