Received: by 10.223.164.202 with SMTP id h10csp2742398wrb; Tue, 28 Nov 2017 00:06:35 -0800 (PST) X-Google-Smtp-Source: AGs4zMZhLtdh3u1nkr5cIeXflHKWBGaCxiF9AGsXK0uhYNsMoT6gaJxhTGLqLSpdLSIMqs3ppIW+ X-Received: by 10.98.137.14 with SMTP id v14mr10016762pfd.10.1511856395774; Tue, 28 Nov 2017 00:06:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511856395; cv=none; d=google.com; s=arc-20160816; b=vv0/8hOMPEU9oYRkwNm0WD2muiIgGDgBOuZAlvVOni/Pe1YgSiQwfZd1yAedwl9zAU XacnPqh5b/AaSEttRIBT9oINNNcG+JHnKdjjty1IgnoR0+IsdhfMPeVE4hnjnEBqq8Ph WJ9Jel2Ej4EDVOvbWVMXevL9OWUu3asXpMos/hEVMbFscLisxerYgwjNA/rHQhIVuHks tF7oUidMt4V9avwzQjv4r7crdre/IwHJUobiHAwDpsFd0FCLwi+V+meh9LeHUtsA75EA HQAUFs9LOeXfrzUPeBUgoOAKUYK9E7qQGZJKXGkMXSnlygCVm6BwDYLCcYDtHMlazKld cz1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=4QJQBVou5qXwnENSUPulL6iYJmqbQM/lpZXvkhBp2CA=; b=X+Fpaqk6HRydmIQXtQSNFBAit4MSWJK7dJyMWDAEEnaSH5oirlAL0lTH6/A1GdRHGa 7n2xdzU94mpJ3zMO/4EV56/A7pq1wG7X9VdEAhvWdULZZL8fCJGrwapXE4LMbCrX2LST QW8e6tXNShHoqC3S7Q6zPRdT56DdVCW2YZuXgk5qVTpeBdTiUwM+Y2Z2IqOZe2iTiemE 0xhT4RI26CF0IYt/ufhYEcx3HUG3REbE0UjjW1vxXZLBG/RYiSiTYbaWCBRvZiNtczre PJ+hhpHXLTjGE3C3EQ3bm2fKFh0dnSbIDkCDd5HWSsCW4FNWTgqxqZIU83qQfQxO/ENU XzUQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c25si22426433pgn.436.2017.11.28.00.06.24; Tue, 28 Nov 2017 00:06:35 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751770AbdK1IFj (ORCPT + 78 others); Tue, 28 Nov 2017 03:05:39 -0500 Received: from mga07.intel.com ([134.134.136.100]:9508 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750907AbdK1IFi (ORCPT ); Tue, 28 Nov 2017 03:05:38 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2017 00:05:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,467,1505804400"; d="asc'?scan'208";a="12803548" Received: from pipin.fi.intel.com (HELO localhost) ([10.237.68.37]) by orsmga002.jf.intel.com with ESMTP; 28 Nov 2017 00:05:35 -0800 From: Felipe Balbi To: Lu Baolu , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Lu Baolu Subject: Re: [PATCH 1/1] usb: gadget: u_serial: Use kfifo instead of homemade circular buffer In-Reply-To: <1511844388-18037-1-git-send-email-baolu.lu@linux.intel.com> References: <1511844388-18037-1-git-send-email-baolu.lu@linux.intel.com> Date: Tue, 28 Nov 2017 10:05:11 +0200 Message-ID: <87o9nmzv48.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Lu Baolu writes: > The kernel FIFO implementation, kfifo, provides interfaces to manipulate > a first-in-first-out circular buffer. Use kfifo instead of the homemade > one to make the code more concise and readable. > > Signed-off-by: Lu Baolu Thanks :-) Can you give a little description of how you tested this? =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAlodGLcACgkQzL64meEa mQawaQ//eBdNlJxc1rNYaXM7qUc9z5rWREu3l/gVlU+F1BBgF97LExV2e+EVrpYP aGG37WaeZhHnDjXshx8c+T+o33y8bsZlv+mqbmG126xlnZ2qSxUDgvnb1cJXjBVH XDFglFVAxcrPxA+dZuh30r6+AeRhVb7/w69b40K0nAkVAbTOqLrXrvFH16JQSq6W X7wiU4aXgmNhoe5aOE/tdemzTG5oVm8dXX1Ao6Gs0+AJJFiJnREMAvhC1cGWqsR/ mrjYK9pqMtlqYFGSw4RAoHghVrREUewVQA++ipop3hf+lhSOty95EvXLEzGSqoQ+ Szk/8IgCJgl1I4jMAsdYYUF9Q2evSZ9yaIq18GaK10ofu9ntRJSK9a0TWSYABqaI 9n3xFiKgzXud6go3lqGFK7pK65V+2+pnr0aacrC+GijHayq4rJgXecR7uLWTebLa Zal+lDKmcudqkOzy82NJCup2mquUO1blQEjuwPrERMbkwetnA1UTJBzcWrvILfd8 WDB5uuq6PygywkAJwJfX+ltcBgj2rcjIhtLCBLccFCtmCKNmIhtZHuuHh+ocMruu JvENha5Lwyw+jdbSDKajg1O7pCcNMiMeCAsbStRMO7TKlh7nbZlTaJtRuyT8bXaT ZBHmBN8ljZzTwSmZBS3XR9/ix90EodreSWCFH0IPUKoGXCY5VvM= =MsFO -----END PGP SIGNATURE----- --=-=-=-- From 1585284190444099978@xxx Tue Nov 28 04:53:36 +0000 2017 X-GM-THRID: 1585284190444099978 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread