Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp64699imj; Thu, 14 Feb 2019 15:26:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IaE+uk7SLkKXL096fxCy3eU49r+/W2fBjaq/4Dc8ZVXNNvRA+9LNJmfKp4rC1JF2YR5uOKH X-Received: by 2002:a63:2a96:: with SMTP id q144mr2368109pgq.338.1550186791941; Thu, 14 Feb 2019 15:26:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550186791; cv=none; d=google.com; s=arc-20160816; b=dBqmD+SkfDV0daRlEsDVtxURlQOFdWejGWpUQv3fGi1uDy8mNRLFvtZUvhDsRaKmVV BqEjf3tebE4FWJLaVIYe+fGTWJxalkxEcSF5wtah1vyixw2o/dX90H9mRQfjT6unbkbC M4E74xTtk+0nH6xT5xzv+4MoyWlK6PDTjPh6wXIHV616hWVexdL4fhB2yODbd+FKb0/J 5z8M67uxyRQVfEMNZrxTEkEdP1LtVYb0kUaCAD+/tdJtWTtWHMhFbe2npTNsdrDpB5Fu 5amB1DBUaN2jMkOt5r9GKTfH6pA9YZ/YVRa/DnYmfwD7w2GOKmeTkRCV8bWa7R1HJ3Hw S9lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TtdDmAesHpyIxOLmQIDqd4AKrLWLVcIq13yKAfLmWvs=; b=qEHFhzo6cIXrXWKTJUcSqGy8wPvZU88akiwF70VJza+dIMt6l6a4WDi4OWAYqUHT7M hM3c+gysQjLMBDYAkXNmkuN24yPhN1pi4RjdeojPhR6JgM3Fnzsku6ztWiF4xJ23CLVj dZPPSSjOUe4V2G9Ur1HPC2T1+ZNtFmylMqCSW6icdX79kfzgnrrvvpkLy2d1B0LDyDP/ p8SSJEK4O0zPGjj/mYqHZ2JyFEW/bAwcT7aLVbb6tgojRWIC1iKtwpDXxruyj0WEk1r1 k5cTMqge8XSNwUlAJpqrBet4BKRpRIn1yZzaCMNSeuPuF0lDpsx1k8BQolV+AIOr0Ofx QEXQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a90si3798199plc.314.2019.02.14.15.26.16; Thu, 14 Feb 2019 15:26:31 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438779AbfBNNLX (ORCPT + 99 others); Thu, 14 Feb 2019 08:11:23 -0500 Received: from mga07.intel.com ([134.134.136.100]:44355 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731764AbfBNNLW (ORCPT ); Thu, 14 Feb 2019 08:11:22 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Feb 2019 05:11:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,368,1544515200"; d="scan'208";a="116178735" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by orsmga006.jf.intel.com with ESMTP; 14 Feb 2019 05:11:18 -0800 Received: from andy by smile with local (Exim 4.92-RC6) (envelope-from ) id 1guGnM-0003SN-Tz; Thu, 14 Feb 2019 15:11:16 +0200 Date: Thu, 14 Feb 2019 15:11:16 +0200 From: Andy Shevchenko To: Xiang Xiao Cc: rdunlap@infradead.org, gregkh@linuxfoundation.org, alexander.shishkin@linux.intel.com, ohad@wizery.com, bjorn.andersson@linaro.org, wendy.liang@xilinx.com, arnaud.pouliquen@st.com, kumar.gala@linaro.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Guiding Li Subject: Re: [PATCH V2 2/2] rpmsg: add syslog redirection driver Message-ID: <20190214131116.GW9224@smile.fi.intel.com> References: <1550124158-1111-1-git-send-email-xiaoxiang@xiaomi.com> <1550124158-1111-2-git-send-email-xiaoxiang@xiaomi.com> <20190214130940.GV9224@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190214130940.GV9224@smile.fi.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 14, 2019 at 03:09:40PM +0200, Andy Shevchenko wrote: > On Thu, Feb 14, 2019 at 02:02:38PM +0800, Xiang Xiao wrote: > > + /* append the message after '\n' to the buffer */ > > > + if (copied != 0) { Missed comment if (copied) > > + } -- With Best Regards, Andy Shevchenko