lists.openwall.net | 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
| ||
|
Date: Sun, 30 Mar 2014 00:20:39 +0530 From: Rashika Kheria <rashika.kheria@...il.com> To: linux-kernel@...r.kernel.org Cc: Vinayak Holikatti <vinholikatti@...il.com>, Santosh Y <santoshsy@...il.com>, "James E.J. Bottomley" <JBottomley@...allels.com>, linux-scsi@...r.kernel.org, josh@...htriplett.org Subject: [PATCH 54/55] scsi: Add prototype declaration to header file ufs/ufshcd.h 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 <rashika.kheria@...il.com> Reviewed-by: Josh Triplett <josh@...htriplett.org> --- 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 */ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists