object.c (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) | object.c (59f216cf04d973b4316761cbf3e7cb9556715b7a) |
---|---|
1/* 2 * Copyright 2014 Red Hat Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 30 unchanged lines hidden (view full) --- 39 if (object != &client->object) 40 args->v0.object = nvif_handle(object); 41 else 42 args->v0.object = 0; 43 args->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; 44 } else 45 return -ENOSYS; 46 | 1/* 2 * Copyright 2014 Red Hat Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 30 unchanged lines hidden (view full) --- 39 if (object != &client->object) 40 args->v0.object = nvif_handle(object); 41 else 42 args->v0.object = 0; 43 args->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; 44 } else 45 return -ENOSYS; 46 |
47 return client->driver->ioctl(client->object.priv, client->super, 48 data, size, hack); | 47 return client->driver->ioctl(client->object.priv, data, size, hack); |
49} 50 51void 52nvif_object_sclass_put(struct nvif_sclass **psclass) 53{ 54 kfree(*psclass); 55 *psclass = NULL; 56} --- 252 unchanged lines hidden --- | 48} 49 50void 51nvif_object_sclass_put(struct nvif_sclass **psclass) 52{ 53 kfree(*psclass); 54 *psclass = NULL; 55} --- 252 unchanged lines hidden --- |