Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3807418pxy; Tue, 4 May 2021 10:19:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrYDXdOseJ+oRtQr/UUXM235iMISouLiYVNyUMHObideNpTkTtGW9orqNK56sqCLQRPKJ+ X-Received: by 2002:a63:4c4a:: with SMTP id m10mr5056926pgl.55.1620148747927; Tue, 04 May 2021 10:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620148747; cv=none; d=google.com; s=arc-20160816; b=jS/uTSqESl3Rt8XW/zGcwePtU0a5IduUhkMQ/Qqt/wBQchZtt6yjc7D61lO2e3TcJu 2AaEzg0nIFFnZqU3JF82czTD6wGqG57aZ+v9ysSOZkd1zDpBkC0mQJQhKYufPplzuskb mIizKyWHRSrsRVY+tplRtwm4FAFUp4EmRlzPyj8pYsB671VjNwF3RioXVtK8bH6Ujpyf G4nSCANhBQz6LGq57CKNctPL3q7h2ffe6e/UYxESbU3MBzgwb7C/fyxyNFA4Gcoask0f NMXHxIVCBI8wA9TFDQ9Ky6/IhaZyT96KaNOoGVE+bGWRIwz08tANbxpeGj0rEs0WypBk 80Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+bVzPOaiGSpT9fPHodrAVpiteIe5e+Ae3qWhGcxKKAU=; b=Xd0p5vAJ02ssuK/Es/xvADvaVOqFsP7jDn3VX1/tHCkhHd4Fv3/duGG/qkfaI1jW+q w/LXSH364QOAnRyHEuG4xj4hij6NBiF52Jevf4SabTeu/mhtrIU7R2ebvMhtIQJ3jYVj MvDzP3sGml7uVgIYc4dB0E/9bKNxWrDSBciEUzDxNfwbw7iSJvYugFk+Kz3PkZUv7f7W 8mTuc7MhPR4iPvddjEL2gTm8O+D+iuMLWXcR718Nui0wf5ygimX4Xwti9hsVxunVSo1J EOgs0Pa6f1bpTDoKnGpIza/TSHfhqfe1uCyIpi2BvrehxcfCSb0y12X17GezgKzchg1l TcLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kcQjh8Uy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si4502440pjp.99.2021.05.04.10.18.43; Tue, 04 May 2021 10:19:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kcQjh8Uy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbhEDRGb (ORCPT + 99 others); Tue, 4 May 2021 13:06:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231964AbhEDRG2 (ORCPT ); Tue, 4 May 2021 13:06:28 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1776C061763 for ; Tue, 4 May 2021 10:05:33 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id q2so8292147pfh.13 for ; Tue, 04 May 2021 10:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=+bVzPOaiGSpT9fPHodrAVpiteIe5e+Ae3qWhGcxKKAU=; b=kcQjh8UyCfHGDomwiT3CD9fJ4Uv6ynvJ7yVxBkSenSh8/4pBwX/ns1e1cqz5XvCt/J /X4r5KTma3914e56sEW0xfNH34HnbCTLcPEzZ9r7is5j1IwB1+pAPOPz5gZE99F7gCvA cmmJJlz3vPjEvTlna0gqbOGhjr6wyeKFP62zoJqbJ8weQppTiyYcolnZchUtGL8d2C3k 0eSZ8sCHZHpI6ZSH5PnWrhBEPlvPaaQvYHF2rl8AORhX2pHVCzlOY9wpSdRX115Q262l vDWP34a0V73sWmZYN06/h8xDekYUalDNee9IxYJvQLy9a3OtYWkM12efk+irjATRNXQZ fGew== 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:content-transfer-encoding :in-reply-to; bh=+bVzPOaiGSpT9fPHodrAVpiteIe5e+Ae3qWhGcxKKAU=; b=JiBRUHWNa+FQ0IcPoVPIuXizF7wezgOquOpa4i7e5+FQ99dv31a9zDLRkLyhpcQvYN ixZRTuvIGya6WMGnIL5iXEJOaq3DsMU6oEKJjvx8hqU4bITrWM5KHJwd40G/bWqrtnQe wuBspn12eyGMxNkUcWYbdvuudZT6hfVNbXGq8PB9i6x4OVNxIeSNFSXgqdZ0wzB4U52U p4GWfAaNyZD5NI6rb/5naPEzqu17lkc9GbkAY3KrX0CIiO4n/rwnzUELc8LdWvqrIPo9 19fGZtiJkPEOrf7sAH4jKoGDQXFzWYTLtUQK6H+A7eIAb6gtb2BAv33t0QBWqPi0Cn+s BUuA== X-Gm-Message-State: AOAM5320LnRVi2AsWvySfNnmUoBU23LJ1/jBIi2KlazL6jyBIJDReESP HE2JbS9m8LvXepY32A72XXB9WfFa69sfrQ== X-Received: by 2002:a63:5c41:: with SMTP id n1mr2160215pgm.333.1620147933177; Tue, 04 May 2021 10:05:33 -0700 (PDT) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id x9sm13848080pfq.197.2021.05.04.10.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 10:05:32 -0700 (PDT) Date: Tue, 4 May 2021 11:05:30 -0600 From: Mathieu Poirier To: Arnaud POULIQUEN Cc: Bjorn Andersson , Ohad Ben-Cohen , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH] rpmsg: char: Remove useless includes Message-ID: <20210504170530.GD1734971@xps15> References: <20210429080639.6379-1-arnaud.pouliquen@foss.st.com> <20210503174238.GD1699665@xps15> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnaud, [...] > > I started by this one and then I got carried away tested the other include... > You are right, I just don't follow her the first rule of the "submit checklist" > > "If you use a facility then #include the file that defines/declares that > facility. Don’t depend on other header files pulling in ones that you use." > > That said I just have a doubt for uapi/linux/rpmsg.h that will be include > by rpmsg.h[2], as these includes are part of the rpmsg framework API, should we > keep both, considering the rule as strict? I red the last paragraph several times I can't understand what you are trying to convey. Please rephrase, provide more context or detail exactly where you think we have a problem. Thanks, Mathieu > > [1] https://www.kernel.org/doc/html/latest/process/submit-checklist.html > [2] > https://patchwork.kernel.org/project/linux-remoteproc/patch/20210311140413.31725-3-arnaud.pouliquen@foss.st.com/ > > Thanks, > Arnaud > > > > > Thanks, > > Mathieu > > > >> > >> #define RPMSG_DEV_MAX (MINORMASK + 1) > >> > >> -- > >> 2.17.1 > >>