Re: [PATCH -mm] tpm_register_hardware gcc 4.1 warning fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack'ed by: Kylene Hall <[email protected]>

On Tue, 2006-05-09 at 19:56 -0700, Daniel Walker wrote:
> Fixes the following warning,
> 
> drivers/char/tpm/tpm.c: In function 'tpm_register_hardware':
> drivers/char/tpm/tpm.c:1157: warning: assignment from incompatible pointer type
> 
> Signed-Off-By: Daniel Walker <[email protected]>
> 
> Index: linux-2.6.16/drivers/char/tpm/tpm.h
> ===================================================================
> --- linux-2.6.16.orig/drivers/char/tpm/tpm.h
> +++ linux-2.6.16/drivers/char/tpm/tpm.h
> @@ -140,7 +140,7 @@ extern int tpm_pm_resume(struct device *
>  extern struct dentry ** tpm_bios_log_setup(char *);
>  extern void tpm_bios_log_teardown(struct dentry **);
>  #else
> -static inline struct dentry* tpm_bios_log_setup(char *name)
> +static inline struct dentry ** tpm_bios_log_setup(char *name)
>  {
>  	return NULL;
>  }
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux