summaryrefslogtreecommitdiff
path: root/virtio-v1.0-wd01-part1-specification.txt
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2018-03-14 15:46:17 +0000
committerMichael S. Tsirkin <mst@redhat.com>2018-03-26 20:47:26 +0300
commit624fab7e85f9eb6f202ba8bd5d9bb38f9f089f99 (patch)
tree3090443f97f8a338e1e639e534b660db87cbbb99 /virtio-v1.0-wd01-part1-specification.txt
parentbb4c6557b0ed8ed4707298e116a2721a673b98a4 (diff)
packed-ring: fix "the descriptor flags +field+ is updated"
Either it needs to be "the descriptors flags are update" (since "flags" is plural) or "the descriptor flags field is updated". Since "flags" is a name of a specific field, I chose the latter solution. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/7 Approved-by: https://www.oasis-open.org/committees/ballot.php?id=3184
Diffstat (limited to 'virtio-v1.0-wd01-part1-specification.txt')
0 files changed, 0 insertions, 0 deletions
com"> * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE * USE OR OTHER DEALINGS IN THE SOFTWARE. * * **************************************************************************/ /* * Simple open hash tab implementation. * * Authors: * Thomas Hellström <thomas-at-tungstengraphics-dot-com> */ #ifndef DRM_HASHTAB_H #define DRM_HASHTAB_H #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) typedef struct drm_hash_item{ struct hlist_node head; unsigned long key; } drm_hash_item_t; typedef struct drm_open_hash{ unsigned int size; unsigned int order; unsigned int fill; struct hlist_head *table; int use_vmalloc; } drm_open_hash_t; extern int drm_ht_create(drm_open_hash_t *ht, unsigned int order); extern int drm_ht_insert_item(drm_open_hash_t *ht, drm_hash_item_t *item); extern int drm_ht_just_insert_please(drm_open_hash_t *ht, drm_hash_item_t *item, unsigned long seed, int bits, int shift, unsigned long add); extern int drm_ht_find_item(drm_open_hash_t *ht, unsigned long key, drm_hash_item_t **item); extern void drm_ht_verbose_list(drm_open_hash_t *ht, unsigned long key); extern int drm_ht_remove_key(drm_open_hash_t *ht, unsigned long key); extern int drm_ht_remove_item(drm_open_hash_t *ht, drm_hash_item_t *item); extern void drm_ht_remove(drm_open_hash_t *ht); #endif