Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5877708imm; Tue, 12 Jun 2018 15:08:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKcWMczcF/Q8ap1wZcIqqH6AwPcZHsVKGlb80Aq1HNnyVgz4QwV+o+kyxt8xbJOq3Wp1e93 X-Received: by 2002:a62:c61d:: with SMTP id m29-v6mr2219801pfg.26.1528841313644; Tue, 12 Jun 2018 15:08:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528841313; cv=none; d=google.com; s=arc-20160816; b=IG3WuJ93xd7yUCMDFjgXtcWFHwL3CdRIvaVDvcHLHBTQostUepc5NhgZuqE3PDIfLb A60MFrzc4PDEsGbPNp1eJQc09Tx+t9xK4dY9OJsd3vy2+bl4PvuBGtuy3mlgvHqNG7wM 7njQIBDg0u4ELe1nvCVRz5XH5YPNN4LuhM72vX0GtsmqiQMcccnheJycbgB2wMSNBZ8N c2TifTZdUjW1pBLfSKYl12JLToiu8AuPuKNwlm3lCGqRivP3OxbPvumkoMUMzXBylN+H MAv1TVtXsnopxDaQCyGbnJEDaylGZB6535FnbTM/Y2EWpaLO7eo4hYFP61BkIWhAQKrN s73A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=iaiu+8U0TPwg9YQcgYOHuCBGJDr6zl5mKAZhyAgyZcI=; b=wGxl7JzyPXA5l7gp4IabVNkH+ZB4ByWqOFn+LAALbsPNKaS0zlEMFsn9DWoa8TGvQt Ufd27e+E4WisZSNphUhhSo2X3WTfahOoglgeHKV0aZZCie7eg0nq09xSuPI6oznQUzWu YAeP8CdUqyVCgLN/sh2z9D15BbNOYfOk0GCWKtl7Cc5LzFq+WX18RxIN8/0rl2bJBOwA JTAsJkVE8H+RCUvJk5okhtCp90ym6RiAo3N2MZJIPlWU+XD9/nN/QyxMX3jcsP+1ZYQF OG7DgF8Erd33GRobasGGtWhXvLL1MfYm92g0IlzqdDJs1Z5lPH3D8IkE925QDjSBUTo2 /FEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ke08M+0K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c83-v6si1063620pfl.319.2018.06.12.15.08.18; Tue, 12 Jun 2018 15:08:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ke08M+0K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934533AbeFLWH2 (ORCPT + 99 others); Tue, 12 Jun 2018 18:07:28 -0400 Received: from mail-pl0-f48.google.com ([209.85.160.48]:46176 "EHLO mail-pl0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934377AbeFLWH1 (ORCPT ); Tue, 12 Jun 2018 18:07:27 -0400 Received: by mail-pl0-f48.google.com with SMTP id 30-v6so259083pld.13; Tue, 12 Jun 2018 15:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=iaiu+8U0TPwg9YQcgYOHuCBGJDr6zl5mKAZhyAgyZcI=; b=ke08M+0KJh/bp7EsIapDO4lz6eSEoX4noNkFW4QR3ETilCWLmu1ugascdg36EvXd/0 6xsi2uhtcJF3wDk6CW6PPszvrzyaE8D2MIgawtkd0gqwSM62V0VayGLiJkDalSwIEIau FQ+aswmXYcrSflV6N6B3YkhdECeP8UdgVysj3xrp5iGEUPh0hDFOqeFYVvn3TC/YcuOE 04YLn//jDkn53RHXW/gYrvCoAWxJhOJ3iRLFK2L4+BLuz5na+Cywwmq9sj6Bn7Q4nbvD gx0eL38pdffSQupEFCqxBuLYOh31f0q7BFTzPfbXvEe9l+vjFlCI7JhHW97lf/LplDQW X59w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iaiu+8U0TPwg9YQcgYOHuCBGJDr6zl5mKAZhyAgyZcI=; b=oP4bnAECxxtvJCKhA9AxPU1cv/tbYTe9ucOaX3EjEUwYmiMsEQKtldPbABDmV4CWFO Q/+/gqWIqTpREAMfFZosd0fIRSpzBFgr6G/rapx2A8GdrXov13HjKqpcBZpyWOCRH/p6 tQhb5SvHL2vx05Rq0ghNdGA+5wIr9ja6MtDa57b8AQwbx9sI/Z4zHiBIQHWxyiiTh+ix /za3PW9hq2NVcIKor+LjVIAxXJx61aYFi83cDJ7+mRiXfvrI1RR645B27YEY2N07UKtS lmC6PwfXL4KEtbr9GS5kJIgEGJ1XgmPdrce0AK2msO5K052Cv9rawfIIwqM+DBsPOFoM 1ucw== X-Gm-Message-State: APt69E3f+J9VIUWCjYkfn5nw/HHIqAiDxsCtoTZGs9Dg3s4NirgJVzBl J9I0cKkpYbG/NcoW4ldY9Eo= X-Received: by 2002:a17:902:d24:: with SMTP id 33-v6mr2352777plu.22.1528841246370; Tue, 12 Jun 2018 15:07:26 -0700 (PDT) Received: from dtor-ws ([2620:0:1000:1511:8de6:27a8:ed13:2ef5]) by smtp.gmail.com with ESMTPSA id c4-v6sm1532047pfe.53.2018.06.12.15.07.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Jun 2018 15:07:24 -0700 (PDT) Date: Tue, 12 Jun 2018 15:07:22 -0700 From: Dmitry Torokhov To: Oleksandr Andrushchenko Cc: xen-devel@lists.xenproject.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, jgross@suse.com, lyan@suse.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, andrii_chepurnyi@epam.com, Oleksandr Andrushchenko Subject: Re: [PATCH v5 3/3] Input: xen-kbdfront - allow better run-time configuration Message-ID: <20180612220722.GA38773@dtor-ws> References: <20180612074856.28451-1-andr2000@gmail.com> <20180612074856.28451-4-andr2000@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180612074856.28451-4-andr2000@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 12, 2018 at 10:48:56AM +0300, Oleksandr Andrushchenko wrote: > > + if (!(with_kbd | with_ptr | with_mtouch)) { I changed this to logical "OR" and applied, thank you. > + ret = -ENXIO; > + goto error; > + } > + > ret = xenkbd_connect_backend(dev, info); > if (ret < 0) > goto error; > -- > 2.17.1 > -- Dmitry