Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2990753pxb; Tue, 24 Aug 2021 12:19:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8RVvc/OTbdyTJMwzq261uxQtl2HAGJi5FptRoqQsORwUOmrt9B+aOxyvAeTtTcSZVwLDs X-Received: by 2002:a6b:7b4b:: with SMTP id m11mr32469291iop.165.1629832743875; Tue, 24 Aug 2021 12:19:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629832743; cv=none; d=google.com; s=arc-20160816; b=y+GxC4REF2h/+raggk6fJSJUr0n+jFoeNy39HI6DTdHAWclLeL8bldIHCmbsdZgdtT 0wbyD90+V9002mSb3ULbS5x7s9cCnMsEQv/2XfOnfUwPJduwr2CA+L+W8ljpDkxp2rf4 vZFh1pTXjr9LyR7Jz5PYHcMlkBDvLrcIAnaR37anZDkqHELDWsd+FPhsdd/eZyZhgzR9 l+09JAOZv7RxbQgCagA0TyZmmI095nLhk+6gOwxQYexRn2NOLW4gQBwPEmxWAUhwLyVC lqqyrMN055nty6NiiHd1a5cdA1E0TXG+HiSuS9Rut1eDf6cUPc8XpebOwXgnBetRpmuE 5aEw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YHLmpisvPPmsqfFKbNTM3t6hjYciHmUpxzHILT2Qr6M=; b=gP8y+pTGJMR9iXEv75e9VNTGuO8VcDpyt/ohxHkrehajxg42xZI+FkXqi15qUgjeBK T7klAi/c3tDS3eOtmkxJ4xWEBz6vnZTQFoSDyF9gq4vp3crnTFCQbfawplSgWALL/HYJ 6VkXZAniAvqh/s7WGUnVAOcCTnamMT0z5EocenMHKpB3KDP5tyPEe07EFFGXY3FCKepk Za1ch52LNKYPqcx259TjF1q8e7Ev8vIAg5xm+tQc7jswmblGrGlH4+my6WqbCygfvgqz VkD3sqpdNbUw8ro5VQtyWhbICRNvi+hMIU4g7/K6LP12i2zbVMqlKcOzy6NwwP6FzTQA EW/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gU7Q1xMS; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s10si16963432ioo.6.2021.08.24.12.18.51; Tue, 24 Aug 2021 12:19:03 -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=@gmail.com header.s=20161025 header.b=gU7Q1xMS; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234572AbhHXTQx (ORCPT + 99 others); Tue, 24 Aug 2021 15:16:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234048AbhHXTQw (ORCPT ); Tue, 24 Aug 2021 15:16:52 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 986A7C061757; Tue, 24 Aug 2021 12:16:07 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id r2so20720938pgl.10; Tue, 24 Aug 2021 12:16:07 -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; bh=YHLmpisvPPmsqfFKbNTM3t6hjYciHmUpxzHILT2Qr6M=; b=gU7Q1xMS9bXpASw00SR/sNuxtUq3cxwtagSusbZwZ7w0pnTQbMyw9wez96UdAhSYRF MxQHZUIiRniZIlUcgYG2OYqmi44v7sW7Ae9dUMfHQpIzmQenxnaJaC4zbj9oSHxmfZSw 6pwXPAYTeqflPdmH5qCkC89j2Fqbx2Tq7Ot1URjWEnSwO+1SncOypH/VG9RYRbxUkPTy gF3sR6j9BQcc8SdP9E5OprwUE0nV+rzzX67Yc9mOtrJeX0m7hwWB4c6BslJk+sDmdSMp q9xjsGDrPwx43GLj4RNvCHJlMcPg4IR6HQOLZ8xRlWAZ6V9vbs87GTpdbqWA9qTcEjrN awoA== 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; bh=YHLmpisvPPmsqfFKbNTM3t6hjYciHmUpxzHILT2Qr6M=; b=Q6PmRtMqbrMevGyOtTrfFLiiOWyASU041zJw1lffJ0Zx+Q1xCqZ8NB2uHamOdbt5Za J2RbGS3LEjgmUxbggux1i3sLJ59NwWagU/+tO1k4/EDMHJyzeieqeFB6AFX+3jZkUoSV FqV4L1/LKXeciEbW30k70Lda7wgsXksDxpTrkV7eDuf9shDAJV6bh0Aq3/TqXdeIiNMd i+xUXq+aq1THkM1qJSdH7B662O9f4oOflz1mA3HnSyTmoCq53cnysUe11oACU5GwZ8N2 YxKjlzCm1ziL3ks63Zm6kk284BlJtii4gAhR2oFnwX+/nLUV+1yzYhnrRPSJ5ef6ohDL N/ug== X-Gm-Message-State: AOAM533KCCLPir/hYDJH4+wQt4dfpzCZ7CzqI34ReFWHyEkccbWWWp5/ U3Ig9iW2aTSgFNhr7o3CFX0= X-Received: by 2002:a62:7c4a:0:b029:3dd:a141:c932 with SMTP id x71-20020a627c4a0000b02903dda141c932mr32208662pfc.68.1629832566863; Tue, 24 Aug 2021 12:16:06 -0700 (PDT) Received: from uver-laptop ([2405:201:6006:a148:428:a9ec:7b61:f80f]) by smtp.gmail.com with ESMTPSA id u7sm3294327pju.13.2021.08.24.12.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Aug 2021 12:16:06 -0700 (PDT) Date: Wed, 25 Aug 2021 00:45:37 +0530 From: Utkarsh Verma To: Johan Hovold Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: Re: [PATCH] USB: serial: iuu_phoenix: Replace symbolic permissions by octal permissions Message-ID: <20210824191537.GA6181@uver-laptop> References: <20210820190306.18149-1-utkarshverma294@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 24, 2021 at 03:55:41PM +0200, Johan Hovold wrote: > On Sat, Aug 21, 2021 at 12:33:06AM +0530, Utkarsh Verma wrote: > > This fixed the below checkpatch issue: > > WARNING: Symbolic permissions 'S_IRUGO | S_IWUSR' are not preferred. > > Consider using octal permissions '0644'. > > Please do not run checkpatch.pl on code that's already in the tree. Use > it for your own patches before submitting them and always use your own > judgement when considering its suggestions. > Okay, I will not run checkpatch on the code that's already in the tree. > This code does not need to be changed. > But using the octal permission bits makes the code more readable. So I made the change. But if you don't want such changes, I will refrain from doing it in the future. Anyway thanks for the review. Regards, Utkarsh Verma