Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1491845lqh; Mon, 6 May 2024 09:09:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzvITXWATgCdPu83LvhAz2QUgCPcotmlQOiEOKHUoay6K36yG0ljYnB1Er+1AQR7wBnOhNuV0hwFe7OBra9UYUGdbMBZiSGXR2G5HS7w== X-Google-Smtp-Source: AGHT+IEXw6xRHtQtTHrPqcrtR0H5UNpCcv1mp2m1wmO5YKXVB7moeguGOsdhF0NRRCyG4PWeVdLm X-Received: by 2002:a05:6512:238b:b0:516:d0e3:9275 with SMTP id c11-20020a056512238b00b00516d0e39275mr8879832lfv.11.1715011798805; Mon, 06 May 2024 09:09:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715011798; cv=pass; d=google.com; s=arc-20160816; b=ilOHLnsMth2VCjUrhp6Kz2ql841Xcxm5+wzPePb7VMD1oumC2GyJLyQ1K+nrMWaZwh TeJzhgO83k4BG7h1IeS3fwXdra8p46KnBo6KrPKBRVkgW7SwVo6pbkFrXPjZ3WG9ood1 KHIT0/8gZGUMUbN4kGuMjWRyV88RfgFY/R0jitvOs1eRg3j/qg2rB322CSU3fZ17Dmg7 9VouP5IK/eoWFCVPXu7tiTtZcLFIuvx5bZaPHZele6TK9YuDq1dXy3AZXJ8qQh63IEbj Q7MmiDbXlysCdhZb1Uj1dCSt0SSWF3tbgNNw7lcgjzeL8rwtJRkiAI1iatduJXVrmZ6z GVTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=hDDuU5aSJYHA153x5Q41/Tx22bOo+9Q69kwxa75Ur9M=; fh=eXb36nwBsQhzCtxpXL6yXqSG2Sn+RKYRT3FVFnvxGtk=; b=LjWi3TZ9ldzE6VeT3J0BpWcxqlItcIf8/GMj40QELwYmUzWNeuDUzy4pIYsK2Ffl6l FcHpCgMcEZtjSb47MChDAEJu8/54lTKx2iAn/Nr+KmFg81T3TxuY8Q5emPWxg9XM+J+s HT1n4D9sqQof94OELweGLrbxgUQ/Cx5+QR3Xp2AnC07vhFwzi7ZrfP0x3X3YRW9xUHiU XZ7J5xTX+X3tAiZ6roIO7nigs/Nq1C6MOdxzid7AIzIGzroK9si5fs9PrEScMO1EveJU CJYznxe2xAk9m2GKkel3BZKGa0/kzZLBbDheOOmcyKHJNhFbWbEOj/WRlVo15bCse4aR GE2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PSktj6lM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170124-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id mc18-20020a170906eb5200b00a59b6dd7149si2568178ejb.310.2024.05.06.09.09.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:09:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PSktj6lM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170124-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 536EE1F22F10 for ; Mon, 6 May 2024 16:09:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFEFC155A5C; Mon, 6 May 2024 16:09:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PSktj6lM" Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D22561DFE1; Mon, 6 May 2024 16:09:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715011789; cv=none; b=F//bzBvvb3hQ90482F/rX+uWmQ8z7rnAmTAOh9IdHksHv+TU8kfmJxXU75M/WAtYDP0bV5nwjeBPT38cTJ2FENo0l5Jnv/Bo/XuyKL5oW7xS5gq5GfBhH1+ghL/+FacfrN8rqMYYtknlnnEmEoj7AWXW4dw4XIwYRQLiJGrIQUM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715011789; c=relaxed/simple; bh=SrNbSPw8B1dvhrQcKhEXT3H4a1Sk9DiPXwP39x2ECm8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=egNqjvF++RYRAMIBrf84q4gKQxTa6PE1Dd3UXmM9tPOOTATSWV87mB5xyWMl7252oAGHQhhw2G6hOtCUkqLH7rI1s0iRXIM2DwxH5MuJlZ4BFxaQuQItH9AwIt9wc1ywhCvA4Die2mQKjNnasun3O6m/Z4LH9ecXPYQNWnUG1yU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PSktj6lM; arc=none smtp.client-ip=209.85.214.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1ed835f3c3cso20161165ad.3; Mon, 06 May 2024 09:09:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715011787; x=1715616587; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hDDuU5aSJYHA153x5Q41/Tx22bOo+9Q69kwxa75Ur9M=; b=PSktj6lMmGy6NeRkw2IWADqiGcrhqrJ0WdBWz9N43QljsFIQX+0AJaFtOP1VoFjeIj UHrCBlVzfGWB36snAzFx0lzt4ptTRc6CW7ArnYak/rMiLi6+qv8PbyF7NQgtgngLJc6t Dr7rjET+kmp1fITSjAcxK8xFv5wYVhD4X0roLHuEv7kN+w0gkAxVpEC5gmZws73HGjub jERvbQjnjFeZluIJ2zUGjCgCib11rJxoabxJNumFYsHly49qzVIRBNxWI7VCiVE27UXY 1PzGv2pDRo6r0gou0fOuR/e9q/OLe4qEXTMeINSmNVPicPlxtwNhJTYypqSX/wDcr1mK wnJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715011787; x=1715616587; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hDDuU5aSJYHA153x5Q41/Tx22bOo+9Q69kwxa75Ur9M=; b=lSj/gPvywN5+AxN6bD6dhLQJHgaWgAGvonl22X9quyNTS5qFSGXCrDxLon75Jh8IT6 /Lh4vZD/TCEYZ+GOT5Om8g7O9q6KJq35SkpLAyxzSxFugEVAToAXCZsDTZKIXavfWh6G I4Jf0UrNF213rAbeJSQ1g6SxlCd4hHMLfX+u3nXIJYjapWL6CEH0UMyyLJmqJoCIJ2yV chl8K+4ufg4nuOUm6etq9QUFur0jibf4GF+qdoE3cJQHpfb41gEexeCkh5DGxVA/tCJr jSQ00mxmpPbZMH7/6qoubuB8kwmJpTFBnnOCKz/AdTqsnXjeLxzGckau8u/ldZXkJhf5 HMkQ== X-Forwarded-Encrypted: i=1; AJvYcCXayuvgkdJOkN9LNoNx4W2cSzkvqTnlhakbHe2rg9S9Y1ZAUGK1v1vuVn8gGWgxH8SPBJphfnwlzC/3Hc6i2V77cWK780gXAq+awtfSQBx33321PJ3MOgjOzwqhu10CDVsVVPgfj/2H X-Gm-Message-State: AOJu0YwhMREk0oax27NL5vl+yOFsr5cMjG04mm3mRurkZ5UpXGcz7kXT jQGxnAvMYfBDV9SxUVbc2oiWZFcezrbO8Zl61NCqQZoOT5cfhxtT X-Received: by 2002:a17:902:e54d:b0:1e6:7731:80 with SMTP id n13-20020a170902e54d00b001e677310080mr15396695plf.11.1715011786871; Mon, 06 May 2024 09:09:46 -0700 (PDT) Received: from ?IPV6:2402:e280:214c:86:88b5:d592:a102:f8f1? ([2402:e280:214c:86:88b5:d592:a102:f8f1]) by smtp.gmail.com with ESMTPSA id lc7-20020a170902fa8700b001e3e081dea1sm8447603plb.0.2024.05.06.09.09.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 May 2024 09:09:46 -0700 (PDT) Message-ID: Date: Mon, 6 May 2024 21:39:43 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 linux-next] usb:typec:mux: remove indentation for common path To: Heikki Krogerus Cc: gregkh@linuxfoundation.org, neil.armstrong@linaro.org, dmitry.baryshkov@linaro.org, u.kleine-koenig@pengutronix.de, christophe.jaillet@wanadoo.fr, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, javier.carrasco.cruz@gmail.com References: <20240426164705.2717-1-prosunofficial@gmail.com> Content-Language: en-US From: R Sundar In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Heikki, On 06/05/24 14:29, Heikki Krogerus wrote: > Hi Sundar, > > On Fri, Apr 26, 2024 at 10:17:05PM +0530, R Sundar wrote: >> Nitpick, Mostly common path will not be indented. so rewritten this >> function to check device_node pointer is null and removed common path >> indentation. >> >> Signed-off-by: R Sundar > > For the record, I'm still uncomfortable with the name - why not just > spell out your whole name? > I understand your concern. " R Sundar ", is my whole name. >> --- >> >> Fixed nitpicks in code according to comments received on other patch as >> below: >> > > Sorry for missing this earlier, but it looks like this patch only > modifies the nb7vpq904m driver, so I think you should specify that > already in the subject. > While at it, you could also specify the only function that is being > modified in the commit message (this is just a suggestion): > > usb: typec: nb7vpq904m: Remove uneeded indentation > > In function nb7vpq904m_parse_data_lanes_mapping(), the "if > (ep)" condition is basically the entire function. Making the > code a bit more readable by inverting the condition so that > the function returns immedately if there is no "ep". > > thanks, > Thanks for the suggestion provided, will modify the commit message and send the updated one. Thanks, Sundar