> Index: arch/amd64/amd64/cbfb.c

> +struct cfattach cbfb_ca = {
> +     sizeof(struct cbfb_softc), cbfb_match, cbfb_attach, NULL
> +};

Make it const.

> +void
> +cbfb_rasops_preinit(struct cbfb *cbfb)
> +{
> +#define bmnum(_x) (fls(_x) - ffs(_x) + 1)
> +#define bmpos(_x) (ffs(_x) - 1)

These two macros do not seem to get used anywhere in this file.

Reply via email to