Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp376867pxx; Thu, 29 Oct 2020 04:59:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyizAegmg5hA2xo7fPtRZoNGKsSV5FtMWGofYG60u2k9HDiWPgy6IHbmELMcuXD+MokiAGk X-Received: by 2002:a17:906:3650:: with SMTP id r16mr3591611ejb.419.1603972793848; Thu, 29 Oct 2020 04:59:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603972793; cv=none; d=google.com; s=arc-20160816; b=zoreUUdAjLgZwVQ2+EzgGZX6/QAgqGcjc82mBmbTVUlD/iy5agWWQ2l8mKBWP3A7Em VG5Nbz0ON9MhjI/hpsAkDfNgt/AB6dc0mtp4RBEwfo14oNGwp8PGIYxz3Vs3zlVBc93W m9fQdIjjyHEXS1DmnAbPWzmM9Pw+LwjqTsx/mG71zLYcUnuqCn1S25fRHUg9Tck/QJKL 6DbxS9dSpsDfw2Oyx5jdL52TLXyL70eEY2zHlapLvgS7ItxINts4jkYGKmCJTEecTj6r sWpUG/pZVojHM8+EFJQ6FYIN3zpzOmIYA4umw2k9RTU8wSDBs7q/NHrh2FXZSNQtKwSu tlFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6kyqsGAFYyWgMWynHNq3rypwVy6bJxyAVIGT2lwY3Cc=; b=J27mcUIvUQGUz9gVVs7hhmkGGdTEpQ8K+mVvfjnzyAUSxb53A7mzKbiMynf29IG1ZV PEZlISILcjGN5gJLJ1Vxi5YcgsWevUWjE99zD9UaVRRGM+S1NtnEcKTHs1tafbyVvkVX 5y+C3A7MnL0r2pjaVkLkRXgsvSXXBTHXJTPbd7bORmvLXQGS0lzc+yCl5gfxHWFYV6oQ K7wOTJy+af4mdaDBE6PjfOv+W8Xe/RskVStySfGdZhgkrGhp4v5s9H4oyo6XaUo/7U1a 9lI9e/9bHxnQm0EQOnu9iiun26OJLB+fL0pGX1B8qDT7ioh6Z0hTAbFdrlz3Ql2GXm9P n21Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Gf0xcGIC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w23si1789511edu.226.2020.10.29.04.59.30; Thu, 29 Oct 2020 04:59:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Gf0xcGIC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725895AbgJ2L56 (ORCPT + 99 others); Thu, 29 Oct 2020 07:57:58 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:57201 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725300AbgJ2L56 (ORCPT ); Thu, 29 Oct 2020 07:57:58 -0400 X-UUID: 9391f1541e9346079bab0ef2fb2013ac-20201029 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=6kyqsGAFYyWgMWynHNq3rypwVy6bJxyAVIGT2lwY3Cc=; b=Gf0xcGIC+jIdVR/nkA3/szmlPWVW7g4+VQYP34vmGl7is/swno43HYuN70ez1IngDSO8QVd10ZeTv5AkLBrbT6uA6g28BAcggMxJLyELI9fcJ0QawYWJpX1MGfpFqt6wTb2jdyer/8V/0lev664SwDq9OdVhRvihcFiDtJneqcg=; X-UUID: 9391f1541e9346079bab0ef2fb2013ac-20201029 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1018748586; Thu, 29 Oct 2020 19:57:53 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 29 Oct 2020 19:57:50 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 29 Oct 2020 19:57:50 +0800 From: Stanley Chu To: , , , , CC: , , , , , , , , , , , , Stanley Chu Subject: [PATCH v1 1/6] scsi: ufs-mediatek: Assign arguments with correct type Date: Thu, 29 Oct 2020 19:57:45 +0800 Message-ID: <20201029115750.24391-2-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20201029115750.24391-1-stanley.chu@mediatek.com> References: <20201029115750.24391-1-stanley.chu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SW4gdWZzX210a191bmlwcm9fc2V0X2xwbSgpLCB1c2Ugc3BlY2lmaWMgdW5zaWduZWQgdmFsdWVz DQphcyB0aGUgYXJndW1lbnQgdG8gaW52b2tlIHVmc2hjZF9kbWVfc2V0KCkuDQoNCkluIHRoZSBz YW1lIHRpbWUsIGNoYW5nZSB0aGUgbmFtZSBvZiB1ZnNfb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