From mboxrd@z Thu Jan 1 00:00:00 1970 From: 'Joerg Roedel' Subject: Re: [PATCH v9 04/16] iommu/exynos: allocate lv2 page table from own slab Date: Wed, 14 Aug 2013 12:56:16 +0200 Message-ID: <20130814105615.GG4491@8bytes.org> References: <002801ce941a$fb6369e0$f22a3da0$@samsung.com> <2544843.sndV7usHTj@amdc1227> <20130809145849.790a9800f4f9893b30e54a1c@samsung.com> <2101296.S6JDU5igl3@flatron> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <2101296.S6JDU5igl3@flatron> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tomasz Figa Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, 'Linux Samsung SOC' , 'Prathyush' , 'Grant Grundler' , Tomasz Figa , 'Subash Patel' , 'Linux Kernel' , 'Sachin Kamat' , 'Linux IOMMU' , 'Kukjin Kim' , 'Antonios Motakis' , Cho KyongHo , kvmarm-FPEHb7Xf0XXUo1n7N8X6UoWGPAHP3yOg@public.gmane.org, 'Linux ARM Kernel' , 'Rahul Sharma' List-Id: iommu@lists.linux-foundation.org On Fri, Aug 09, 2013 at 09:55:30AM +0200, Tomasz Figa wrote: > Oh, this is a valid point, but it was more a nitpick about the coding > style. Single path error handling (with goto) is widely used in the kernel > in cases when more than one thing has to be undone and so I suggested this > method of error handling here as well. I agree with that review from Tomasz, the error-handling should look similar to all the other places in the kernel and use goto. Joerg