mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-19 20:13:49 -04:00
ionic: clean up sparse complaints
The sparse complaints around the static_asserts were obscuring more useful complaints. So, don't check the static_asserts, and fix the remaining sparse complaints. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
4f3391ce8f
commit
d701ec326a
@@ -333,7 +333,7 @@ int ionic_set_vf_config(struct ionic *ionic, int vf, u8 attr, u8 *data)
|
||||
union ionic_dev_cmd cmd = {
|
||||
.vf_setattr.opcode = IONIC_CMD_VF_SETATTR,
|
||||
.vf_setattr.attr = attr,
|
||||
.vf_setattr.vf_index = vf,
|
||||
.vf_setattr.vf_index = cpu_to_le16(vf),
|
||||
};
|
||||
int err;
|
||||
|
||||
@@ -391,7 +391,7 @@ void ionic_dev_cmd_queue_identify(struct ionic_dev *idev,
|
||||
{
|
||||
union ionic_dev_cmd cmd = {
|
||||
.q_identify.opcode = IONIC_CMD_Q_IDENTIFY,
|
||||
.q_identify.lif_type = lif_type,
|
||||
.q_identify.lif_type = cpu_to_le16(lif_type),
|
||||
.q_identify.type = qtype,
|
||||
.q_identify.ver = qver,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user