diff --git a/[refs] b/[refs] index 99931cb5735a..a891d2158a1a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8c82b13a2c2b22fc395f39b6aba301e7fbe09440 +refs/heads/master: 4b608983fe9cbb522e6dd819ea357a3af89f2e8e diff --git a/trunk/drivers/staging/rts_pstor/spi.c b/trunk/drivers/staging/rts_pstor/spi.c index c803ba635509..6b36cc532a8c 100644 --- a/trunk/drivers/staging/rts_pstor/spi.c +++ b/trunk/drivers/staging/rts_pstor/spi.c @@ -463,7 +463,7 @@ int spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip) } if (len) { - buf = (u8 *)kmalloc(len, GFP_KERNEL); + buf = kmalloc(len, GFP_KERNEL); if (!buf) TRACE_RET(chip, STATUS_ERROR);