From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE5C4C43603 for ; Fri, 20 Dec 2019 12:59:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 987F42067C for ; Fri, 20 Dec 2019 12:59:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727419AbfLTM71 (ORCPT ); Fri, 20 Dec 2019 07:59:27 -0500 Received: from mx2.suse.de ([195.135.220.15]:55342 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727344AbfLTM71 (ORCPT ); Fri, 20 Dec 2019 07:59:27 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D8CCDAB91; Fri, 20 Dec 2019 12:59:25 +0000 (UTC) Subject: Re: [PATCH v2] xen/grant-table: remove multiple BUG_ON on gnttab_interface To: Aditya Pakki Cc: kjlu@umn.edu, Boris Ostrovsky , Stefano Stabellini , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20191217205356.29172-1-pakki001@umn.edu> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: <1a59dbf6-5a14-da94-eb90-c2de90e0e191@suse.com> Date: Fri, 20 Dec 2019 13:59:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191217205356.29172-1-pakki001@umn.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17.12.19 21:53, Aditya Pakki wrote: > gnttab_request_version() always sets the gnttab_interface variable > and the assertions to check for empty gnttab_interface is unnecessary. > The patch eliminates multiple such assertions. > > Signed-off-by: Aditya Pakki Pushed to xen/tip.git for-linus-5.5b Juergen