Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2016 00:37:16 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>, freebsd-stable@FreeBSD.org
Subject:   Re: aibs(4) / atk0110 support for newer systems
Message-ID:  <19cb4aa4-f38e-1331-2939-281a08d1f78d@FreeBSD.org>
In-Reply-To: <20161005222831.e674c3a134266c2e1edc523e@getmail.no>
References:  <86cf8380-ac6f-55f0-f0f8-16000d7f04b2@FreeBSD.org> <20160930145704.4dbc9d90011154b38493964e@getmail.no> <7d498084-ec05-d4c9-5f49-6aef32495caf@FreeBSD.org> <20160930205928.77d7e74f7bd1a35fcf1aa50a@getmail.no> <7a868c22-e0bd-f677-e4ad-2bdf6f3605d0@FreeBSD.org> <20161003201511.7258687453f12c44a46a361a@getmail.no> <f9fbb905-2bd7-0b1d-3baa-85061258718d@FreeBSD.org> <20161005143723.4273657959160b67637a5adf@getmail.no> <4c431c8a-7c8c-4336-b948-6e9ae882c0fc@FreeBSD.org> <20161005222831.e674c3a134266c2e1edc523e@getmail.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/10/2016 23:28, Torfinn Ingolfsen wrote:
> #6  0xffffffff80cd0081 in calltrap ()
>     at /usr/src/sys/amd64/amd64/exception.S:238
> #7  0xffffffff81bcb078 in aibs_add_sensor () from /boot/kernel/aibs.ko
> #8  0xffffffff81bcb4b4 in aibs_attach_sif () from /boot/kernel/aibs.ko

Argh, I've just spotted a very silly typo.
Could you please replace '0' with 'o' in
	err = aibs_add_sensor(sc, 0, &as[i], &descr);
?
I wish compilers were more noisy about passing a scalar as a pointer argument.

Thanks!
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19cb4aa4-f38e-1331-2939-281a08d1f78d>