mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
ionic: replace set_vf data with union
This (ab)use of a data buffer made some static code checkers
rather itchy, so we replace the a generic data buffer with
the union in the struct ionic_vf_setattr_cmd.
Fixes: fbb39807e9 ("ionic: support sr-iov operations")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ec8ee71473
commit
36197d8297
@@ -318,7 +318,8 @@ void ionic_dev_cmd_port_autoneg(struct ionic_dev *idev, u8 an_enable);
|
||||
void ionic_dev_cmd_port_fec(struct ionic_dev *idev, u8 fec_type);
|
||||
void ionic_dev_cmd_port_pause(struct ionic_dev *idev, u8 pause_type);
|
||||
|
||||
int ionic_set_vf_config(struct ionic *ionic, int vf, u8 attr, u8 *data);
|
||||
int ionic_set_vf_config(struct ionic *ionic, int vf,
|
||||
struct ionic_vf_setattr_cmd *vfc);
|
||||
int ionic_dev_cmd_vf_getattr(struct ionic *ionic, int vf, u8 attr,
|
||||
struct ionic_vf_getattr_comp *comp);
|
||||
void ionic_dev_cmd_queue_identify(struct ionic_dev *idev,
|
||||
|
||||
Reference in New Issue
Block a user