Re: [PATCH 1/1] net: bna: use correct type specifications

2016-08-01 Thread David Miller
From: Heinrich Schuchardt Date: Sun, 31 Jul 2016 10:53:14 +0200 > addr and len are read with > sscanf(kern_buf, "%x:%x", , ); > and used as arguments for > bna_reg_offset_check. > > So they have to be unsigned. > > Signed-off-by: Heinrich Schuchardt

[PATCH 1/1] net: bna: use correct type specifications

2016-07-31 Thread Heinrich Schuchardt
addr and len are read with sscanf(kern_buf, "%x:%x", , ); and used as arguments for bna_reg_offset_check. So they have to be unsigned. Signed-off-by: Heinrich Schuchardt --- drivers/net/ethernet/brocade/bna/bnad_debugfs.c | 3 ++- 1 file changed, 2 insertions(+), 1