Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1450359ybt; Thu, 25 Jun 2020 06:29:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxo2niGEEqKN16iQcv9VuppdLQfK9dhfv7xBxkHBEKfnJmdjiF43jlkftO8qges2dPPm1QR X-Received: by 2002:aa7:db47:: with SMTP id n7mr31585184edt.223.1593091743549; Thu, 25 Jun 2020 06:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593091743; cv=none; d=google.com; s=arc-20160816; b=FBCdbKccPiZt6t0hv1T7XQIP7Ma2I3wF1XpG6IYNa1z7wLS8vxgKm2NXzR72AJkQCT nJWTMODPvkRe0cchnrh9MPcjWIxpCgpRR6yHGaAX0TAljOE32J3ouFYzZbkum3dBWE5F jcadSTtbbCmzb4DV04DpT4y0FYQrk9/Dkl4dPq7xf7JQ/oK9IENGM9kQ6EgbOhSLIv3/ +tB4V3mLOGA5TPZLBv8zhKfqQkg29NZu8WVRzBkXCnRvJ5xPiUdjqnCvO34yDHCzPRsA IPv7J+OmXU0jkwA4qnUzAeb6ojpLj0Mh1YUQ5FP1AtM2TmrKb99yeWI27HY8bbcdp9+O cTmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=eJ3/Mq7vJPR+x6UGF9hjTyfpV3MClmGOAkmC+A8dGsw=; b=hf6TEo8Xo/sYzK5cj9DI0Gh+I5WUU3kLFJkc57ksC944p7F421lhqJnd/BC40gZxz2 UfqOUiKRLQ84PsCYLEDzKxie+jXO/sGM8pahvBZ7wXN/ca5zxDOwAuIg6CZJ+8jg2ZRm tSlVNk5v/pdmaJP87em5WNtKeo5xgnnIiXTxcZ5p+yNUlnbgf3H2fQVv/rAcEXeFfaC6 VPMzvHs/Le9GUis88qux3m34+wLgveCRx8GyU3ZC/U7mkJ4SDg/V01SuEUELejsxmJxd wbEb4DwYA+SO/4afU8tP5AFRZrFKK9vtmSNhigJMrG72BlOQ5q+xCpJq/pn/huPrd33w lNbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pQJmNzfd; 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 v10si915350ejb.350.2020.06.25.06.28.39; Thu, 25 Jun 2020 06:29: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=pQJmNzfd; 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 S2404949AbgFYNZq (ORCPT + 99 others); Thu, 25 Jun 2020 09:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404904AbgFYNZp (ORCPT ); Thu, 25 Jun 2020 09:25:45 -0400 Received: from mail-qv1-xf42.google.com (mail-qv1-xf42.google.com [IPv6:2607:f8b0:4864:20::f42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FB4BC08C5C1 for ; Thu, 25 Jun 2020 06:25:46 -0700 (PDT) Received: by mail-qv1-xf42.google.com with SMTP id g7so2730398qvx.11 for ; Thu, 25 Jun 2020 06:25:46 -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:mime-version :content-transfer-encoding; bh=eJ3/Mq7vJPR+x6UGF9hjTyfpV3MClmGOAkmC+A8dGsw=; b=pQJmNzfdvlcRM9JVSyrhj/oMZG+i5rKFtQq0Qk9xomMbXD4rG2HGCs3tTvWJcyL+RN ZhGROVilEALNcyrN9LSGS5UdAfOqt6qLQDa+hwg1ZjTpHmo32ZeyiluZYd8456eFq9/Q tHQ3iuAIBpWP/6vRX46jGq8rB88Y31toNEHItwoPsnzBvp8KkrBBj8vqpm6KVdxTixEh bFCGJAbi7DbaOyORsDIx7TrVgkkQ7pkGj5UuXCmF989fgpDKrZSRqSE0fdZrHA1P8Gep UcLJVLh0WiULO1XE9yriSgaF9HadZjvra1NcPPECoadhGzSVi4pNzkMCdad8QKZQ0qsT kbnw== 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:mime-version :content-transfer-encoding; bh=eJ3/Mq7vJPR+x6UGF9hjTyfpV3MClmGOAkmC+A8dGsw=; b=Vsd5Kwfg8cxiOpxJ7bZXblUCYNP9iGq7vGAzroxh94B8MAc1Qryoj2eCreeP9hGYOF fU4eTfcDWhNJsRCD3rrzII81WSfAenOvp+13kvAChndYk7iymQi2+yLsA1glgdQy5rIw yCa5VtDBvMFqHz+MvaLyh84t/ZWmzpJj9ULTVS8pOGuznu976L9AaKDMENArPyfwdUZN CcQI+mP543cAlu8NSqxrNsssBxXENITF3GGoavR//5dAlRxESVKbL6OArQAFH3iZxuBx fM0MGvflnDbJXQiwuSeK3UVtJfMjw1NdfHNmb052AFjV8OCdIEx6Rr5PWv5cWbu5JwTC bETg== X-Gm-Message-State: AOAM530HZn9uRlNq/Nw24hhwgjNqMasTrL/8lxxV2gUuTLGXjhuV6oCW jp1mCQEJW46OMsoDByA+IET7KFwJYM+l2Q== X-Received: by 2002:a0c:eccd:: with SMTP id o13mr37073576qvq.49.1593091545506; Thu, 25 Jun 2020 06:25:45 -0700 (PDT) Received: from mooncell.myfiosgateway.com (pool-173-75-208-99.phlapa.fios.verizon.net. [173.75.208.99]) by smtp.gmail.com with ESMTPSA id t35sm412107qth.79.2020.06.25.06.25.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 06:25:44 -0700 (PDT) From: Brooke Basile To: rspringer@google.com, toddpoynor@google.com, benchan@chromium.org, rcy@google.com, gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, trivial@kernel.org, Brooke Basile Subject: [PATCH] staging: gasket: Convert symbolic permission to octal Date: Thu, 25 Jun 2020 09:25:13 -0400 Message-Id: <20200625132513.10805-1-brookebasile@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixing checkpatch WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. Signed-off-by: Brooke Basile --- drivers/staging/gasket/gasket_sysfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gasket/gasket_sysfs.h b/drivers/staging/gasket/gasket_sysfs.h index ab5aa351d555..eb0fd3b0490f 100644 --- a/drivers/staging/gasket/gasket_sysfs.h +++ b/drivers/staging/gasket/gasket_sysfs.h @@ -71,7 +71,7 @@ struct gasket_sysfs_attribute { #define GASKET_SYSFS_RO(_name, _show_function, _attr_type) \ { \ - .attr = __ATTR(_name, S_IRUGO, _show_function, NULL), \ + .attr = __ATTR(_name, 0444, _show_function, NULL), \ .data.attr_type = _attr_type \ } -- 2.27.0