diff options
author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-06-23 05:56:21 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-06-23 05:56:21 -0700 |
commit | e213493c4363e0a7403cd8e895cd9e73abc7340d (patch) | |
tree | 769fa3afd5798208bd0b5d773c18b8fbbdd6b0e6 | |
parent | e5b8aadd071032a7828166c85e04517521ae9711 (diff) | |
parent | 722ed38badf7905877cff86fe503a543050753b8 (diff) |
Merge "scsi: ufs: Fix initialization of pointer"
-rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 544a71e7c242..a2f2cc0c2c51 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -653,7 +653,7 @@ static inline void ufshcd_cond_add_cmd_trace(struct ufs_hba *hba, unsigned int tag, const char *str) { struct ufshcd_lrb *lrbp; - char *cmd_type; + char *cmd_type = NULL; u8 opcode = 0; u8 cmd_id = 0, idn = 0; sector_t lba = -1; |