Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1715690pxb; Fri, 20 Aug 2021 12:06:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLjLkrD2AWoV9F2eUTu4nNmpRzYKj2Joj8Qxj2uQKOnwNyfNuKGNBQjXNxDCUKLL+UUavS X-Received: by 2002:a50:9fe8:: with SMTP id c95mr24126390edf.177.1629486371436; Fri, 20 Aug 2021 12:06:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629486371; cv=none; d=google.com; s=arc-20160816; b=gcBmV1KR+k2moLNBhfx9LyIrf37eOZSasYHoJ/f18T+Yx7onB0UMmVF2QRSIgd7T7m UKexepNnUj6RPbpl5tkuc7z5c5Yu65qJO9uiToysN1CCdSGTV+0MnKLw9Bxv6967+wGh /gQODJMycquPkGEZj7FMNr/QxNi8Lncr5Tj8EIkV8MgeOsTRGsgA5BdMcFWtAooNX45M Je+t/tZmsxUqDBE5afG7gChhdAPe2OayAHLxtTAjy1yN85WOyeygofzvUcT4pGqFALrv +lP9EeS6BFG4BW2zKsZFB4wrfFFl/YdVQnhmTFzEiyAg2eajEv7z0Qv6GawVMkEXzmNd 4eug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=r1Ub2zCNnF2jD+YCi379UyQNacsyCmoabwxSuvI+j+U=; b=txBa+cDHvNffKwI579AxkcwF6+NdV9T3GmgX8JBO1QNM2PfAfQJOfFVX26aIzawk/z Km36ggHH8FiYXfy8N/K3Bvxkkp5tugyhpya9uLfi5Fo4MhBg2XJx/dDAYAtdNHHItR7w mjKgDEqkISZQxqY3zU+KFUCJFk77cvy48xIVJJOZiiK22a9gc0mgHExmHv0ibSKQ5UGj Q6IRXSXqN8MRtjpygkDW/8f6Zn6XN3GERFlWgfxtDT39yHPxKrBLujWEikbdKbUVz2pe GyGeV07fKVUM59D93VPVSQalsASbt/lqrge34WSDz5bhuyf35JFF7AOGWOStIkkC3Z1p GK1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c5KqXjWf; 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 p26si6225575edx.85.2021.08.20.12.05.42; Fri, 20 Aug 2021 12:06:11 -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=c5KqXjWf; 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 S236293AbhHTTEG (ORCPT + 99 others); Fri, 20 Aug 2021 15:04:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235726AbhHTTD7 (ORCPT ); Fri, 20 Aug 2021 15:03:59 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98D76C061575; Fri, 20 Aug 2021 12:03:17 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id mq2-20020a17090b3802b0290178911d298bso7948327pjb.1; Fri, 20 Aug 2021 12:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=r1Ub2zCNnF2jD+YCi379UyQNacsyCmoabwxSuvI+j+U=; b=c5KqXjWfCyTrry1wW4RpaJG2UsqChpZxWbCw9ounHx++H9ebycNR+XxD3BAzfkpn/X GS/LJxyJu71ZL4GFKFLdsSIex26vUGaxbOcSfBAEAE4yUTWP/9t14MXASfzWhLTXD/D2 75ZS6a+qlkQcMkPTbZENVQmLZkKg3Z1mYvTqaqpxp5BiuR4FRsO8X+D7MO1aAsY7/XX8 UFzWTtGzG912FABhZPqqPDWIb8XjFa009DK8FiCb9iJ97328iv1WIGRIOtlbr0XuJDLF Lo07CIx4Zz6/fAEG5VxZ159+D8QU/aWQ8rwsBkPUaKv6AVxG9k85xN2qf45qvEPA2OBV tPow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=r1Ub2zCNnF2jD+YCi379UyQNacsyCmoabwxSuvI+j+U=; b=F9p2py7xNaaBDT5vC5KT9QRhQ6XEu36Q5T7PfN2O3ON1BFFRtPmjU91ov0K1CiN2f4 Z8bq8JxM9976Xc41+yxFFPZHGEPIH4WqrRXzU3PER452CqJ+4CdlxtwRrNd7mXFayjAT poYv1yfuaKkazco1mZ+SUENwNhEHeqQB1hlPT1l/arjHia4jd9j+UVDJCfJ/z1LZN0Hk IOe5NpGtzdkrqxCwSJgs6X1h77/W2JMCt4MCssF9+b+kIaWV3SxTA2u9JZMlMgvX/F7b hWJSoC5Mqn98c4kGbyu0ioZh1MvFYuAxdY2oA39ySMu1VDHQE0tzE/fJCSoqgwsCWnjO +n6Q== X-Gm-Message-State: AOAM5308jvX7IRr1kB6UAd81jj7z79Yd9RdUvS5lngYgzcwrYpIeDYdQ y2f1R8WgDu+yA049jpE2yrXMHuO+Ihq0fQ== X-Received: by 2002:a17:90b:f17:: with SMTP id br23mr5844696pjb.60.1629486196916; Fri, 20 Aug 2021 12:03:16 -0700 (PDT) Received: from localhost.localdomain ([49.36.209.159]) by smtp.googlemail.com with ESMTPSA id b10sm7821899pfi.122.2021.08.20.12.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 12:03:16 -0700 (PDT) From: Utkarsh Verma To: Johan Hovold Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn , Utkarsh Verma Subject: [PATCH] USB: serial: iuu_phoenix: Replace symbolic permissions by octal permissions Date: Sat, 21 Aug 2021 00:33:06 +0530 Message-Id: <20210820190306.18149-1-utkarshverma294@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This fixed the below checkpatch issue: WARNING: Symbolic permissions 'S_IRUGO | S_IWUSR' are not preferred. Consider using octal permissions '0644'. Signed-off-by: Utkarsh Verma Suggested-by: Lukas Bulwahn --- drivers/usb/serial/iuu_phoenix.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c index 19753611e7b0..0be3b5e1eaf3 100644 --- a/drivers/usb/serial/iuu_phoenix.c +++ b/drivers/usb/serial/iuu_phoenix.c @@ -1188,20 +1188,20 @@ MODULE_AUTHOR("Alain Degreffe eczema@ecze.com"); MODULE_DESCRIPTION(DRIVER_DESC); MODULE_LICENSE("GPL"); -module_param(xmas, bool, S_IRUGO | S_IWUSR); +module_param(xmas, bool, 0644); MODULE_PARM_DESC(xmas, "Xmas colors enabled or not"); -module_param(boost, int, S_IRUGO | S_IWUSR); +module_param(boost, int, 0644); MODULE_PARM_DESC(boost, "Card overclock boost (in percent 100-500)"); -module_param(clockmode, int, S_IRUGO | S_IWUSR); +module_param(clockmode, int, 0644); MODULE_PARM_DESC(clockmode, "Card clock mode (1=3.579 MHz, 2=3.680 MHz, " "3=6 Mhz)"); -module_param(cdmode, int, S_IRUGO | S_IWUSR); +module_param(cdmode, int, 0644); MODULE_PARM_DESC(cdmode, "Card detect mode (0=none, 1=CD, 2=!CD, 3=DSR, " "4=!DSR, 5=CTS, 6=!CTS, 7=RING, 8=!RING)"); -module_param(vcc_default, int, S_IRUGO | S_IWUSR); +module_param(vcc_default, int, 0644); MODULE_PARM_DESC(vcc_default, "Set default VCC (either 3 for 3.3V or 5 " "for 5V). Default to 5."); -- 2.17.1