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

[Xen-devel] Re: [xen-unstable test] 2042: regressions - FAIL



Ian Jackson writes ("[xen-unstable test] 2042: regressions - FAIL"):
> flight 2042 xen-unstable real
> http://www.chiark.greenend.org.uk/~xensrcts/logs/2042/
> 
> Regressions :-(
> 
> tests which did not succeed:
>  build-i386                    3 xen-build               fail REGR. vs. 2017

This is due to the following compile error:

  .../xen/include/xen/cper.h: In function 'cper_next_record_id':
  .../xen/include/xen/cper.h:44: error: left shift count >= width of type

This was introduced in 22053:3bd6d29f1435 "mce: Provide ERST
interface".  The compiler is correct:

+extern unsigned long get_sec(void);
...
+               record_id = get_sec() << 32;

If the intent is really just to initialise the top 32 bits with a
32-bit number, then you should write something like this:
                record_id = (u64)get_sec() << 32;

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.