All of lore.kernel.org
 help / color / mirror / Atom feed
* [Accel-config] Re: [PATCH] accel-config/test: Remove unused global variable ms_timeout
@ 2022-04-28 21:48 Ramesh Thomas
  0 siblings, 0 replies; only message in thread
From: Ramesh Thomas @ 2022-04-28 21:48 UTC (permalink / raw)
  To: accel-config

[-- Attachment #1: Type: text/plain, Size: 2164 bytes --]

This gives compilation error

/usr/local/bin/ld: dsa_test.o: in function `main':
/home/rt/dsa/idxd-config/test/dsa_test.c:687: undefined reference to 
`ms_timeout'
/usr/local/bin/ld: dsa.o: in function `dsa_wait_noop':
/home/rt/dsa/idxd-config/test/dsa.c:617: undefined reference to `ms_timeout'
/usr/local/bin/ld: dsa.o: in function `dsa_wait_batch':
/home/rt/dsa/idxd-config/test/dsa.c:664: undefined reference to `ms_timeout'
/usr/local/bin/ld: dsa.o: in function `dsa_wait_drain':
/home/rt/dsa/idxd-config/test/dsa.c:679: undefined reference to `ms_timeout'
/usr/local/bin/ld: dsa.o: in function `dsa_wait_memcpy':
/home/rt/dsa/idxd-config/test/dsa.c:726: undefined reference to `ms_timeout'
/usr/local/bin/ld: dsa.o:/home/rt/dsa/idxd-config/test/dsa.c:782: more 
undefined references to `ms_timeout' follow
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:697: dsa_test] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/local/bin/ld: iaa_test.o: in function `main':
/home/rt/dsa/idxd-config/test/iaa_test.c:118: undefined reference to 
`ms_timeout'
/usr/local/bin/ld: iaa.o: in function `iax_wait_noop':
/home/rt/dsa/idxd-config/test/iaa.c:25: undefined reference to `ms_timeout'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:701: iaa_test] Error 1
make[1]: *** [Makefile:754: all-recursive] Error 1
make: *** [Makefile:532: all] Error 2



On 4/28/2022 8:49 AM, Dave Jiang wrote:
> ms_timeout is not used by anything. Remove.
> 
> Signed-off-by: Dave Jiang <dave.jiang(a)intel.com>
> ---
>   test/accel_test.c |    1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/test/accel_test.c b/test/accel_test.c
> index 84ab13e77fa5..24652c7c05d3 100644
> --- a/test/accel_test.c
> +++ b/test/accel_test.c
> @@ -15,7 +15,6 @@
>   #include <accfg/idxd.h>
>   #include "accel_test.h"
>   
> -unsigned int ms_timeout = 5000;
>   int debug_logging;
>   static int umwait_support;
>   
> 
> _______________________________________________
> Accel-config mailing list -- accel-config(a)lists.01.org
> To unsubscribe send an email to accel-config-leave(a)lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-28 21:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 21:48 [Accel-config] Re: [PATCH] accel-config/test: Remove unused global variable ms_timeout Ramesh Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.