2015-09-07 4:38 GMT-04:00 Jiri Olsa :
> Adding part of the kernel's interface:
> inline void * __must_check ERR_PTR(long error);
> inline long __must_check PTR_ERR(__force const void *ptr);
> inline bool __must_check IS_ERR(__force const void *ptr);
>
> it will be used to propagate error
2015-09-08 17:06 GMT-04:00 Arnaldo Carvalho de Melo :
> Em Tue, Sep 08, 2015 at 04:22:39PM -0400, Raphaël Beamonte escreveu:
>> 2015-09-07 4:38 GMT-04:00 Jiri Olsa :
>> > Adding part of the kernel's interface:
>> > inline void * __must_check ERR_PTR(long error);
>> > inline long __must_check
Em Tue, Sep 08, 2015 at 04:22:39PM -0400, Raphaël Beamonte escreveu:
> 2015-09-07 4:38 GMT-04:00 Jiri Olsa :
> > Adding part of the kernel's interface:
> > inline void * __must_check ERR_PTR(long error);
> > inline long __must_check PTR_ERR(__force const void *ptr);
> > inline bool __mus
2015-09-08 16:22 GMT-04:00 Raphaël Beamonte :
> Perhaps a dumb question, but it seems the code is exactly the same as
> in linux/err.h besides the part of the comment you added. Why not
> using that file directly in the other patches then?
I meant include/linux/err.h, from git root
--
To unsubscri
2015-09-07 4:38 GMT-04:00 Jiri Olsa :
> Adding part of the kernel's interface:
> inline void * __must_check ERR_PTR(long error);
> inline long __must_check PTR_ERR(__force const void *ptr);
> inline bool __must_check IS_ERR(__force const void *ptr);
>
> it will be used to propagate error
5 matches
Mail list logo