|
|
@@ -721,7 +721,7 @@ static void ca8210_mlme_reset_worker(struct work_struct *work)
|
|
|
static void ca8210_rx_done(struct cas_control *cas_ctl)
|
|
|
{
|
|
|
u8 *buf;
|
|
|
- u8 len;
|
|
|
+ unsigned int len;
|
|
|
struct work_priv_container *mlme_reset_wpc;
|
|
|
struct ca8210_priv *priv = cas_ctl->priv;
|
|
|
|
|
|
@@ -730,7 +730,7 @@ static void ca8210_rx_done(struct cas_control *cas_ctl)
|
|
|
if (len > CA8210_SPI_BUF_SIZE) {
|
|
|
dev_crit(
|
|
|
&priv->spi->dev,
|
|
|
- "Received packet len (%d) erroneously long\n",
|
|
|
+ "Received packet len (%u) erroneously long\n",
|
|
|
len
|
|
|
);
|
|
|
goto finish;
|