Bug 719380 - super-intel.c:2327:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64'
super-intel.c:2327:4: error: format '%llu' expects argument of type 'long lon...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: mdadm (Show other bugs)
rawhide
powerpc Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Milan Broz
Fedora Extras Quality Assurance
:
Depends On:
Blocks: F16Alphappc
  Show dependency treegraph
 
Reported: 2011-07-06 12:13 EDT by Karsten Hopp
Modified: 2013-02-28 23:10 EST (History)
4 users (show)

See Also:
Fixed In Version: mdadm-3.2.2-2.fc16
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-07-06 15:43:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Karsten Hopp 2011-07-06 12:13:53 EDT
Description of problem:
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wl,-z,relro -m64 -mminimal-toc -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/dev/md\" -DMAP_FILE=\"md-device-map\" -DMDMON_DIR=\"/dev/md\" -DFAILED_SLOTS_DIR=\"/dev/md/failed-slots\" -DUSE_PTHREADS   -c -o super-intel.o super-intel.c
super-intel.c: In function 'getinfo_super_imsm_volume':
super-intel.c:2327:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' [-Werror=format]
super-intel.c:2327:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' [-Werror=format]
cc1: all warnings being treated as errors

Version-Release number of selected component (if applicable):
mdadm-3.2.2-1.fc16

  
Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=247592
Comment 1 Milan Broz 2011-07-06 15:01:04 EDT
Interesting, sparc build works:-)
I'll fix it...
Comment 2 Milan Broz 2011-07-06 15:43:59 EDT
Fixed in mdadm-3.2.2-2.fc16
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=247826

Note You need to log in before you can comment on or make changes to this bug.