static int __mmc_blk_ioctl_cmd(struct mmc_card *card, struct mmc_blk_data *md,
                               struct mmc_blk_ioc_data *idata)
 {
-       struct mmc_command cmd = {0};
-       struct mmc_data data = {0};
-       struct mmc_request mrq = {NULL};
+       struct mmc_command cmd = {};
+       struct mmc_data data = {};
+       struct mmc_request mrq = {};
        struct scatterlist sg;
        int err;
        int is_rpmb = false;
        u32 result;
        __be32 *blocks;
 
-       struct mmc_request mrq = {NULL};
-       struct mmc_command cmd = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_data data = {};
 
        struct scatterlist sg;
 
 
 static int get_card_status(struct mmc_card *card, u32 *status, int retries)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int err;
 
        cmd.opcode = MMC_SEND_STATUS;
                struct request *req, bool *gen_err, u32 *stop_status)
 {
        struct mmc_host *host = card->host;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int err;
        bool use_r1b_resp = rq_data_dir(req) == WRITE;
 
 
  */
 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries)
 {
-       struct mmc_request mrq = {NULL};
+       struct mmc_request mrq = {};
 
        WARN_ON(!host->claimed);
 
 
 int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage, u32 ocr)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int err = 0;
        u32 clock;
 
 static int mmc_do_erase(struct mmc_card *card, unsigned int from,
                        unsigned int to, unsigned int arg)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        unsigned int qty = 0, busy_timeout = 0;
        bool use_r1b_resp = false;
        unsigned long timeout;
 
 int mmc_set_blocklen(struct mmc_card *card, unsigned int blocklen)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        if (mmc_card_blockaddr(card) || mmc_card_ddr52(card) ||
            mmc_card_hs400(card) || mmc_card_hs400es(card))
 int mmc_set_blockcount(struct mmc_card *card, unsigned int blockcount,
                        bool is_rel_write)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        cmd.opcode = MMC_SET_BLOCK_COUNT;
        cmd.arg = blockcount & 0x0000FFFF;
 
 
 static int mmc_sleep(struct mmc_host *host)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        struct mmc_card *card = host->card;
        unsigned int timeout_ms = DIV_ROUND_UP(card->ext_csd.sa_timeout, 10000);
        int err;
 
 int mmc_send_status(struct mmc_card *card, u32 *status)
 {
        int err;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        cmd.opcode = MMC_SEND_STATUS;
        if (!mmc_host_is_spi(card->host))
 
 static int _mmc_select_card(struct mmc_host *host, struct mmc_card *card)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        cmd.opcode = MMC_SELECT_CARD;
 
  */
 int mmc_set_dsr(struct mmc_host *host)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        cmd.opcode = MMC_SET_DSR;
 
 int mmc_go_idle(struct mmc_host *host)
 {
        int err;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        /*
         * Non-SPI hosts need to prevent chipselect going active during
 
 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int i, err = 0;
 
        cmd.opcode = MMC_SEND_OP_COND;
 int mmc_all_send_cid(struct mmc_host *host, u32 *cid)
 {
        int err;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        cmd.opcode = MMC_ALL_SEND_CID;
        cmd.arg = 0;
 
 int mmc_set_relative_addr(struct mmc_card *card)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        cmd.opcode = MMC_SET_RELATIVE_ADDR;
        cmd.arg = card->rca << 16;
 mmc_send_cxd_native(struct mmc_host *host, u32 arg, u32 *cxd, int opcode)
 {
        int err;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        cmd.opcode = opcode;
        cmd.arg = arg;
 mmc_send_cxd_data(struct mmc_card *card, struct mmc_host *host,
                u32 opcode, void *buf, unsigned len)
 {
-       struct mmc_request mrq = {NULL};
-       struct mmc_command cmd = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_data data = {};
        struct scatterlist sg;
 
        mrq.cmd = &cmd;
 
 int mmc_spi_read_ocr(struct mmc_host *host, int highcap, u32 *ocrp)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int err;
 
        cmd.opcode = MMC_SPI_READ_OCR;
 
 int mmc_spi_set_crc(struct mmc_host *host, int use_crc)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int err;
 
        cmd.opcode = MMC_SPI_CRC_ON_OFF;
 {
        struct mmc_host *host = card->host;
        int err;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        bool use_r1b_resp = use_busy_signal;
        unsigned char old_timing = host->ios.timing;
 
 
 int mmc_send_tuning(struct mmc_host *host, u32 opcode, int *cmd_error)
 {
-       struct mmc_request mrq = {NULL};
-       struct mmc_command cmd = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_data data = {};
        struct scatterlist sg;
        struct mmc_ios *ios = &host->ios;
        const u8 *tuning_block_pattern;
 
 int mmc_abort_tuning(struct mmc_host *host, u32 opcode)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        /*
         * eMMC specification specifies that CMD12 can be used to stop a tuning
 mmc_send_bus_test(struct mmc_card *card, struct mmc_host *host, u8 opcode,
                  u8 len)
 {
-       struct mmc_request mrq = {NULL};
-       struct mmc_command cmd = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_data data = {};
        struct scatterlist sg;
        u8 *data_buf;
        u8 *test_buf;
 
 int mmc_send_hpi_cmd(struct mmc_card *card, u32 *status)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        unsigned int opcode;
        int err;
 
 
 static int mmc_test_wait_busy(struct mmc_test_card *test)
 {
        int ret, busy;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        busy = 0;
        do {
 static int mmc_test_buffer_transfer(struct mmc_test_card *test,
        u8 *buffer, unsigned addr, unsigned blksz, int write)
 {
-       struct mmc_request mrq = {0};
-       struct mmc_command cmd = {0};
-       struct mmc_command stop = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_command stop = {};
+       struct mmc_data data = {};
 
        struct scatterlist sg;
 
        struct scatterlist *sg, unsigned sg_len, unsigned dev_addr,
        unsigned blocks, unsigned blksz, int write)
 {
-       struct mmc_request mrq = {0};
-       struct mmc_command cmd = {0};
-       struct mmc_command stop = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_command stop = {};
+       struct mmc_data data = {};
 
        mrq.cmd = &cmd;
        mrq.data = &data;
 static int mmc_test_broken_transfer(struct mmc_test_card *test,
        unsigned blocks, unsigned blksz, int write)
 {
-       struct mmc_request mrq = {0};
-       struct mmc_command cmd = {0};
-       struct mmc_command stop = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_command stop = {};
+       struct mmc_data data = {};
 
        struct scatterlist sg;
 
 
 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card)
 {
        int err;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        if (WARN_ON(card && card->host != host))
                return -EINVAL;
 int mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card,
        struct mmc_command *cmd, int retries)
 {
-       struct mmc_request mrq = {NULL};
+       struct mmc_request mrq = {};
 
        int i, err;
 
 
 int mmc_app_set_bus_width(struct mmc_card *card, int width)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        cmd.opcode = SD_APP_SET_BUS_WIDTH;
        cmd.flags = MMC_RSP_R1 | MMC_CMD_AC;
 
 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int i, err = 0;
 
        cmd.opcode = SD_APP_OP_COND;
 
 int mmc_send_if_cond(struct mmc_host *host, u32 ocr)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int err;
        static const u8 test_pattern = 0xAA;
        u8 result_pattern;
 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca)
 {
        int err;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        cmd.opcode = SD_SEND_RELATIVE_ADDR;
        cmd.arg = 0;
 int mmc_app_send_scr(struct mmc_card *card, u32 *scr)
 {
        int err;
-       struct mmc_request mrq = {NULL};
-       struct mmc_command cmd = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_data data = {};
        struct scatterlist sg;
        void *data_buf;
 
 int mmc_sd_switch(struct mmc_card *card, int mode, int group,
        u8 value, u8 *resp)
 {
-       struct mmc_request mrq = {NULL};
-       struct mmc_command cmd = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_data data = {};
        struct scatterlist sg;
 
        /* NOTE: caller guarantees resp is heap-allocated */
 int mmc_app_sd_status(struct mmc_card *card, void *ssr)
 {
        int err;
-       struct mmc_request mrq = {NULL};
-       struct mmc_command cmd = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_data data = {};
        struct scatterlist sg;
 
        /* NOTE: caller guarantees ssr is heap-allocated */
 
 
 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int i, err = 0;
 
        cmd.opcode = SD_IO_SEND_OP_COND;
 static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn,
        unsigned addr, u8 in, u8 *out)
 {
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
        int err;
 
        if (fn > 7)
 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn,
        unsigned addr, int incr_addr, u8 *buf, unsigned blocks, unsigned blksz)
 {
-       struct mmc_request mrq = {NULL};
-       struct mmc_command cmd = {0};
-       struct mmc_data data = {0};
+       struct mmc_request mrq = {};
+       struct mmc_command cmd = {};
+       struct mmc_data data = {};
        struct scatterlist sg, *sg_ptr;
        struct sg_table sgtable;
        unsigned int nents, left_size, i;
 
                u8 opcode, u8 sample_point)
 {
        int err;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        err = sd_change_phase(host, sample_point, true);
        if (err < 0)
 
                u8 opcode, u8 sample_point)
 {
        int err;
-       struct mmc_command cmd = {0};
+       struct mmc_command cmd = {};
 
        err = sd_change_phase(host, sample_point, 0);
        if (err)
 
                              unsigned long flags)
 {
        struct mmc_host *mmc = host->mmc;
-       struct mmc_command cmd = {0};
-       struct mmc_request mrq = {NULL};
+       struct mmc_command cmd = {};
+       struct mmc_request mrq = {};
 
        cmd.opcode = opcode;
        cmd.flags = MMC_RSP_R1 | MMC_CMD_ADTC;