Am 27.11.2014 15:25, schrieb SF Markus Elfring: >>> diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c >>> index df12cc3..7a26b85 100644 >>> --- a/drivers/staging/android/ion/ion.c >>> +++ b/drivers/staging/android/ion/ion.c >>> @@ -226,7 +226,7 @@ static struct ion_buffer *ion_buffer_create(struct ion_heap *heap, >>> buffer->pages = vmalloc(sizeof(struct page *) * num_pages); >>> if (!buffer->pages) { >>> ret = -ENOMEM; >>> - goto err1; >>> + goto err2; >>> } >>> >>> for_each_sg(table->sgl, sg, table->nents, i) { >>> @@ -262,7 +262,6 @@ static struct ion_buffer *ion_buffer_create(struct ion_heap *heap, >>> err: >>> heap->ops->unmap_dma(heap, buffer); >>> heap->ops->free(buffer); >>> -err1: >>> vfree(buffer->pages); >>> err2: >> >> Now we have "err" and "err2", which doesn't make much sense, >> please fix up. > > How do you want this source code to be improved? > Should I introduce longer names for the affected jump labels? > hi markus, the confusion arises because the errX are numbered and now on in the sequence is missing. So far i see you can renumber them or give more descriptiv names. hope that helps, re, wh -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html