Skip to content

Commit

Permalink
edac: zynqmp: fix style issues from checkpatch
Browse files Browse the repository at this point in the history
This patch fixes the warnings reported by checkpatch.pl
WARNING: Symbolic permissions 'S_IRUGO | S_IWUSR' are not preferred.
Consider using octal permissions '0644'.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Naga Sureshkumar Relli authored and Michal Simek committed Jun 20, 2017
1 parent a61c65b commit de07a30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/edac/zynqmp_ocm_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,28 +497,28 @@ static struct edac_dev_sysfs_attribute zynqmp_ocm_edac_sysfs_attributes[] = {
{
.attr = {
.name = "inject_cebitpos",
.mode = (S_IRUGO | S_IWUSR)
.mode = (0644)
},
.show = zynqmp_ocm_edac_inject_cebitpos_show,
.store = zynqmp_ocm_edac_inject_cebitpos_store},
{
.attr = {
.name = "inject_uebitpos0",
.mode = (S_IRUGO | S_IWUSR)
.mode = (0644)
},
.show = zynqmp_ocm_edac_inject_uebitpos0_show,
.store = zynqmp_ocm_edac_inject_uebitpos0_store},
{
.attr = {
.name = "inject_uebitpos1",
.mode = (S_IRUGO | S_IWUSR)
.mode = (0644)
},
.show = zynqmp_ocm_edac_inject_uebitpos1_show,
.store = zynqmp_ocm_edac_inject_uebitpos1_store},
{
.attr = {
.name = "inject_fault_count",
.mode = (S_IRUGO | S_IWUSR)
.mode = (0644)
},
.show = zynqmp_ocm_edac_inject_fault_count_show,
.store = zynqmp_ocm_edac_inject_fault_count_store},
Expand Down

0 comments on commit de07a30

Please sign in to comment.