Messages in this thread | | | Subject | Re: [PATCH] scsi: tcmu: Simplify 'tcmu_update_uio_info()' | From | "Martin K. Petersen" <> | Date | Tue, 18 Jun 2019 21:10:40 -0400 |
| |
Christophe,
> Use 'kasprintf()' instead of: > - snprintf(NULL, 0... > - kmalloc(... > - snprintf(... > > This is less verbose and saves 7 bytes (i.e. the space for '/(null)') if > 'udev->dev_config' is NULL.
Applied to 5.3/scsi-queue. Thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |