hash.h warnings



Hi,


There was a discussion late last year about how to fix the warnings in
sys/sys/hash.h.

http://lists.freebsd.org/pipermail/freebsd-net/2006-October/012098.html

There were a few suggestions put forward but nothing was ever committed. I
need to include this file in the kernel for a new driver but do not know
enough about this type of warning to fix it. Can anyone recommend the correct
fix?

@/sys/hash.h: In function `hash32_stre':
@/sys/hash.h:97: warning: cast discards qualifiers from pointer target type
@/sys/hash.h: In function `hash32_strne':
@/sys/hash.h:116: warning: cast discards qualifiers from pointer target type



cheers,
Andrew
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [BK PATCHES] 2.6.x net driver updates
    ... I'll do one for 2.4.23pre6 ASAP, hopefully being able sync the driver fully ... Fix typo in module description. ... * Critical bug fix: under heavy Tx stress using ZEROCOPY or TSO, ... Fix harmless 64bit warnings in defxx.c ...
    (Linux-Kernel)
  • [git pull for 2.6.22-rc4 - resend] kbuild: fix sh64 section mismatch problems
    ... Please apply following 2 liners fix. ... It will fix a lot of false section mismatch warnings on sh64 and ... Subject: kbuild: fix sh64 section mismatch problems ... Silence the warnings by allowing references from .init.text to .cranges. ...
    (Linux-Kernel)
  • [PATCH for -rc] kbuild: fix sh64 section mismatch problems
    ... Please apply following 2 liners fix. ... It will fix a lot of false section mismatch warnings on sh64 and ... Subject: kbuild: fix sh64 section mismatch problems ... Silence the warnings by allowing references from .init.text to .cranges. ...
    (Linux-Kernel)
  • Linux 2.6.21-rc5
    ... ARM, MIPS, SH, Sparc64) to KVM, networking and network drivers. ... pata_ixp4xx_cf: fix interrupt ... new Novatel device ids for option driver ... IP27, IP35: Fix warnings. ...
    (Linux-Kernel)
  • Re: [bootup warning] "driver" has no release callback, .23-rc9
    ... Those warnings are inoffensive;) V4L core does provide a generic ... Anyway, we'll take a look on it and fix, to avoid the ... driver for proper sysfs support, ...
    (Linux-Kernel)