etype = {0};
^
drivers/net/ethernet/mscc/ocelot_vcap.c:755:11: warning: (near initialization
for 'etype.value') [-Wmissing-braces]
1 warnings generated
Fixes: 75944fda1dfe ("net: mscc: ocelot: offload ingress skbedit and vlan
actions to VCAP IS1")
Signed-off-by: Pujin Shi
etype = {0};
^
drivers/net/ethernet/mscc/ocelot_vcap.c:755:11: warning: (near initialization
for 'etype.value') [-Wmissing-braces]
1 warnings generated
Fixes: 75944fda1dfe ("net: mscc: ocelot: offload ingress skbedit and vlan
actions to VCAP IS1")
Signed-off-by: Pujin Shi
1c2a07f598d5 ("btrfs: extent-tree: kill BUG_ON() in
__btrfs_free_extent()")
Signed-off-by: Pujin Shi
---
fs/btrfs/extent-tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 3b21fee13e77..5fd60b13f4f8 100644
3b7b6ffa4f8f ("btrfs: extent-tree: kill BUG_ON() in
__btrfs_free_extent()")
Signed-off-by: Pujin Shi
---
fs/btrfs/extent-tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 3b21fee13e77..5fd60b13f4f8 100644
ICE_FLOW_ENTRY_HNDL(e) ((u64)e)
^
drivers/net/ethernet/intel/ice/ice_flow.c:946:13: note: in expansion of macro
'ICE_FLOW_ENTRY_HNDL'
*entry_h = ICE_FLOW_ENTRY_HNDL(e);
^
2 warnings generated
Signed-off-by: Pujin Shi
---
drivers/net/ethe
Fixes:
drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not
defined for this architecture. [-Wcpp]
Signed-off-by: Pujin Shi
---
drivers/input/joystick/analog.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/input/joystick/analog.c b/drivers
^
net/smc/smc_llc.c:1245:9: warning: (near initialization for 'del_llc.hd')
[-Wmissing-braces]
2 warnings generated
Fixes: 4dadd151b265 ("net/smc: enqueue local LLC messages")
Signed-off-by: Pujin Shi
---
net/smc/smc_llc.c | 4 ++--
1 file changed, 2 insertions(+), 2 dele
c.c:1317:9: warning: (near initialization for 'delllc.hd')
[-Wmissing-braces]
1 warnings generated
Fixes: f3811fd7bc97 ("net/smc: send DELETE_LINK, ALL message and wait for send
to complete")
Signed-off-by: Pujin Shi
---
net/smc/smc_llc.c | 2 +-
1 file changed, 1 insertion
r.c:1038:9: warning: (near initialization for 'ri.inode')
[-Wmissing-braces]
1 warnings generated
Fixes: 443b313c7ff8 ("btrfs: tree-checker: fix false alert caused by legacy
btrfs root item")
Signed-off-by: Pujin Shi
---
fs/btrfs/tree-checker.c | 2 +-
1 file changed, 1 ins
zer [-Wmissing-braces]
union ufs_crypto_cfg_entry cfg = { 0 };
^
2 warnings generated
Fixes: 70297a8ac7a7 ("scsi: ufs: UFS crypto API")
Signed-off-by: Pujin Shi
---
drivers/scsi/ufs/ufshcd-crypto.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/ufs/u
Clang warns:
drivers/scsi/ufs/ufshcd-crypto.c:103:8: warning: missing braces around
initializer [-Wmissing-braces]
union ufs_crypto_cfg_entry cfg = { 0 };
^
Signed-off-by: Pujin Shi
---
drivers/scsi/ufs/ufshcd-crypto.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers
Clang warns:
drivers/scsi/ufs/ufshcd-crypto.c:62:8: warning: missing braces around
initializer [-Wmissing-braces]
union ufs_crypto_cfg_entry cfg = { 0 };
^
Signed-off-by: Pujin Shi
---
drivers/scsi/ufs/ufshcd-crypto.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff
'ret' variable is now defined but not used in mvebu_uart_probe(),
causing this warning:
drivers/tty/serial/mvebu-uart.c: In function ‘mvebu_uart_probe’:
drivers/tty/serial/mvebu-uart.c:806:6: warning: unused variable ‘ret’
[-Wunused-variable]
Signed-off-by: Pujin Shi
---
d
This commit adds a prototype to fix warning at W=1:
arch/mips/kernel/process.c:95:5: error: no previous prototype for
'arch_dup_task_struct' [-Werror=missing-prototypes]
Signed-off-by: Pujin Shi
---
arch/mips/include/asm/processor.h | 1 +
1 file changed, 1 insertion(+)
diff --
arch/mips/kernel/process.c:696:15: error: no previous prototype for
'arch_align_stack' [-Werror=missing-prototypes]
Signed-off-by: Pujin Shi
---
arch/mips/kernel/process.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/proce
init_IRQ() have no prototype, add one in linux/irq.h
Fix the following warnings (treated as error in W=1):
arch/mips/kernel/irq.c:52:13: error: no previous prototype for 'init_IRQ'
[-Werror=missing-prototypes]
Signed-off-by: Pujin Shi
---
include/linux/irq.h | 2 ++
init/main.c
^
./include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
^
arch/mips/mm/init.c:458:2: note: in expansion of macro 'BUILD_BUG_ON'
BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT)
This commit adds a prototype to fix warning at W=1:
arch/mips/kernel/idle.c:126:13: error: no previous prototype for 'check_wait'
[-Werror=missing-prototypes]
Signed-off-by: Pujin Shi
---
arch/mips/include/asm/idle.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mi
This commit adds a prototype to fix warning at W=1:
arch/mips/kernel/idle.c:126:13: error: no previous prototype for 'check_wait'
[-Werror=missing-prototypes]
Signed-off-by: Pujin Shi
---
arch/mips/include/asm/idle.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mi
mple_dname’
[-Wmissing-prototypes]
Signed-off-by: Pujin Shi
---
fs/d_path.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/d_path.c b/fs/d_path.c
index 0f1fc1743302..745dc1f77787 100644
--- a/fs/d_path.c
+++ b/fs/d_path.c
@@ -7,6 +7,7 @@
#include
#include
#include "mount.h"
+
init_IRQ() have no prototype, add one in irq.h
Fix the following warnings (treated as error in W=1):
arch/mips/kernel/irq.c:52:13: error: no previous prototype for 'init_IRQ'
[-Werror=missing-prototypes]
Signed-off-by: Pujin Shi
---
arch/mips/include/asm/irq.h | 1 +
arch/mips/ke
This commit adds a prototype to fix warning at W=1:
arch/mips/kernel/idle.c:126:13: error: no previous prototype for 'check_wait'
[-Werror=missing-prototypes]
Signed-off-by: Pujin Shi
---
arch/mips/include/asm/idle.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mi
‘idle_inject_unregister’ [-Wmissing-prototypes]
Signed-off-by: Pujin Shi
---
drivers/powercap/idle_inject.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/powercap/idle_inject.c b/drivers/powercap/idle_inject.c
index 4310901a074e..6e1a0043c411 100644
--- a/drivers/powercap/idle_inject.c
arch/mips/kernel/branch.c:876:5: error: no previous prototype for
'__insn_is_compact_branch' [-Werror=missing-prototypes]
Signed-off-by: Pujin Shi
Signed-off-by: Pujin Shi
---
arch/mips/kernel/branch.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/kernel/branch.c b
‘idle_inject_unregister’ [-Wmissing-prototypes]
Signed-off-by: Pujin Shi
Signed-off-by: Pujin Shi
---
drivers/powercap/idle_inject.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/powercap/idle_inject.c b/drivers/powercap/idle_inject.c
index 4310901a074e..6e1a0043c411 100644
--- a
25 matches
Mail list logo