net/ionic: do minor logging fixups
authorAndrew Boyer <aboyer@pensando.io>
Thu, 10 Dec 2020 02:57:37 +0000 (18:57 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:04 +0000 (16:03 +0100)
commit4ae96cb88fa06e37766c1bb0d91d1538f8ae34d3
tree576d2041e59ad03a1766b8f8b4bba63cdddfd662
parent75f9690223b5ebd6b171ae09746ae23bc8d221d6
net/ionic: do minor logging fixups

Expose ionic_opcode_to_str() so it can be used for dev cmds, too.
Store the device name in struct adapter.

Switch to memcpy() to work around gcc false positives.

Signed-off-by: Andrew Boyer <aboyer@pensando.io>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/ionic/ionic.h
drivers/net/ionic/ionic_dev.c
drivers/net/ionic/ionic_dev.h
drivers/net/ionic/ionic_ethdev.c
drivers/net/ionic/ionic_lif.c
drivers/net/ionic/ionic_main.c
drivers/net/ionic/ionic_rxtx.c