lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 30 Mar 2014 00:20:39 +0530
From:	Rashika Kheria <>
Cc:	Vinayak Holikatti <>,
	Santosh Y <>,
	"James E.J. Bottomley" <>,,
Subject: [PATCH 54/55] scsi: Add prototype declaration to header file

Add prototype declaration of functions to header file ufs/ufshcd.h
because they are used by more than one file.

This eliminates the following warning in ufs/ufshcd.h:
drivers/scsi/ufs/ufshcd.c:2769:5: warning: no previous prototype for ‘ufshcd_suspend’ [-Wmissing-prototypes]
drivers/scsi/ufs/ufshcd.c:2790:5: warning: no previous prototype for ‘ufshcd_resume’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <>
Reviewed-by: Josh Triplett <>
 drivers/scsi/ufs/ufshcd.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h
index 577679a..9a920c3 100644
--- a/drivers/scsi/ufs/ufshcd.h
+++ b/drivers/scsi/ufs/ufshcd.h
@@ -317,4 +317,6 @@ static inline int ufshcd_dme_peer_get(struct ufs_hba *hba,
 	return ufshcd_dme_get_attr(hba, attr_sel, mib_val, DME_PEER);
+int ufshcd_suspend(struct ufs_hba *hba, pm_message_t state);
+int ufshcd_resume(struct ufs_hba *hba);
 #endif /* End of Header */

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists