Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1b5e9532 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

scsi: ufs: Fix compiler warning



Fix the following compiler warning from gcc 7.4.1 with -Werror enabled:

 drivers/scsi/ufs/ufshcd.c:6773:22: error: format '%d' expects argument of type
  'int', but argument 4 has type 'long unsigned int' [-Werror=format=]
   dev_warn(hba->dev, " (%s) clk_get_rate - %d\n", __func__, freq);

Fixes: cd1b0b74 ("ufs: ufshcd: Add check for broken auto-h8 support")
Change-Id: Ic0dedbadfcd742dc5dbbcc4c131c7b08fa22e6e3
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent fa651e18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment